Open fizwit opened 7 years ago
Confirmed, if you upgrade setuptools to a sufficiently high version, this issue is bypassed.
Do you know how to specify a minimum version of setuptools? I'm not sure if it's worth it. Based on your report, it sounds like the newer version of setuptools is only needed for Python 3.5 and later? What's the error?
In requirements.txt
, which is parsed by setup.py
, add setuptools>=35.0.2
. It's been 5 months since I've had this problem, so I don't remember the exact error, but using a 3.5 virtual environment with a manually installed setuptools of less than 35 should consistently yield the problem. If I remember correctly, setup.py
failed, and the package could not be installed.
If you wanted to specify the requirement only for Python 3.5 and up, you could add setuptools>=35.02;python_version>="3.4"
to requirements.txt
. See declaring platform specific dependencies in the setuptools docs.
FYI, updating
setuptools
to version35.0.2
resolved the install issue for me. This package should probably specify a minimum required version ofsetuptools
to avoid being unable to install it.