Python version >= 3.5 required ?
See original GitHub issueI can not install ImageHash on my legacy environment which uses Python 2.7.9
`$pip install ImageHash
Downloading/unpacking ImageHash
Downloading ImageHash-4.0-py2.py3-none-any.whl (295kB): 295kB downloaded
Downloading/unpacking numpy (from ImageHash)
Downloading numpy-1.17.0.zip (6.5MB): 6.5MB downloaded
Running setup.py (path:/tmp/pip-build-wySIh5/numpy/setup.py) egg_info for package numpy
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-wySIh5/numpy/setup.py", line 31, in <module>
raise RuntimeError("Python version >= 3.5 required.")
RuntimeError: Python version >= 3.5 required.
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-wySIh5/numpy/setup.py", line 31, in <module>
raise RuntimeError("Python version >= 3.5 required.")
RuntimeError: Python version >= 3.5 required.`
However, I could install it on my other machine running Python 2.7.15+
In both environments I have Pillow==6.1.0
Is there any way around it?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Python Release Python 3.5.0
Python 3.5.10, the final release of the 3.5 series, is available here. ... download the needed software components at installation time.
Read more >How to fix updated pip: RuntimeError: Python 3.5 or later is ...
I updated pip on Ubuntu 14.04 with pip install pip --upgrade and now it's broken, saying it needs Python 3.5 or above, but...
Read more >RuntimeError: Python version >= 3.5 required. #693 - GitHub
When I am running "pip install -r requirements.txt", an error message prompts: > Complete output from command python setup.py egg_info: > ...
Read more >Runtimeerror (python 3.5 or later is required) when I try to ...
You seem to have Python 3.4 installed. Update it to 3.5 and try again. setuptools dropped support for Python 3.4 as it is...
Read more >Install Python version 3.5.x (32-bit) - HighBond
Install Python version 3.5.x (32-bit). From the Python downloads page, download a version of Python to your computer or the server.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The error indicates that this is not a imagehash issue, but pip tries to install the latest numpy version.
Install an older version of numpy. Likely your package manager has a suitable one.
Yes I tried only pip because ImageHash is supposed to run inside that environment so why need to install packages globally? The machine on which ImageHash installed seamlessly (inside python 2.7 env) is Ubuntu 18.08, and the one with which I have trouble installing is Debian 9.