Closed mladeny closed 5 years ago
Can reproduce as well
Python 3.6.4 pip 9.0.1 (tried upgrade to 10.0.1)
If it's something actually wrong with this lib, I'll take a PR that fixes it.
Did google this which may imply something with environment itself and not a given lib: https://stackoverflow.com/questions/42558133/upgrading-python3-4-to-python3-6-on-ubuntu-breaks-pip
I found it installs fine normally with both python 2.7 and 3.5 and was eventually able to get it to install on 3.6 by using --no-deps
since its failing when trying to install distribute. Pip actually says distribute is already installed if I run pip install --upgrade distribute
but fails if I try pip install --force-reinstall distribute
with the same error as above.
It looks like at least some other people have seen similar behavior with different packages. I'd guess removing the requirement would remove this behavior in 3.6 but not sure if that would cause issues for older version of python.
Same problem on python 3.7.2.
I think the problem is that the dependency (Distribute) only supports up to python 3.3. https://pypi.org/project/distribute/
I've implemented a fix for this in https://github.com/ryan-roemer/django-cloud-browser/pull/18 which fixes the package install for me (Python 3.6.5, pip 9.0.3).
Python version 3.6.3 pip version 10.0.1
I'm also in a python virtual env