numenta/nupic-legacy

pip dependency hell 2.7

montge opened this issue · 2 comments

It appears that there's a bit of dependency hell going on with the fixed selection of packages. It appears it may be upstream dependencies.

dronekit-sitl 3.2.0 has requirement psutil>=3.0, but you'll have psutil 1.0.1 which is incompatible.
anaconda-client 1.7.2 has requirement python-dateutil>=2.6.1, but you'll have python-dateutil 2.1 which is incompatible.
anaconda-client 1.7.2 has requirement PyYAML>=3.12, but you'll have pyyaml 3.10 which is incompatible.
pandas 0.23.4 has requirement python-dateutil>=2.5.0, but you'll have python-dateutil 2.1 which is incompatible.
featuretools 0.4.0 has requirement numpy>=1.13.3, but you'll have numpy 1.12.1 which is incompatible.
featuretools 0.4.0 has requirement psutil>=5.4.8, but you'll have psutil 1.0.1 which is incompatible.
featuretools 0.4.0 has requirement pyyaml>=3.12, but you'll have pyyaml 3.10 which is incompatible.
Installing collected packages: mock, coverage, pytest, pytest-cov, numpy, python-dateutil, PyYAML, validictory, unittest2, prettytable, apipkg, execnet, pytest-xdist, asteval, pycapnp, ordereddict, pyproj, PyMySQL, nupic.bindings, psutil, DBUtils, nupic
  Found existing installation: pytest 3.10.0
    Uninstalling pytest-3.10.0:
      Successfully uninstalled pytest-3.10.0
  Found existing installation: numpy 1.15.3
    Uninstalling numpy-1.15.3:
      Successfully uninstalled numpy-1.15.3
  Found existing installation: python-dateutil 2.7.5
    Uninstalling python-dateutil-2.7.5:
      Successfully uninstalled python-dateutil-2.7.5
  Found existing installation: PyYAML 3.13
Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

Is this a nupic problem? What version of pip are you using?

I had the same problem but followed instructions to downgrade pip- they might not be the best way then to upgrade pip had to find the current version and past that back into the first command (just upgrading didn't seem to work - version read 9.0.3) post pip 10 seems cannot uninstall distutils like PyYAML

pip install --upgrade --force-reinstall pip==9.0.3
pip install nupic
pip install --upgrade --force-reinstall pip==18.1.0