You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I am having an issue where sometimes setuptools is running the finalize_options function but numpy is not installed yet:
...
File "/opt/python/3.7.1/lib/python3.7/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/tmp/pip-install-9ehdn6oz/imagecodecs/setup.py", line 600, in finalize_options
import numpy
ModuleNotFoundError: No module named 'numpy'
This appears to only happen on certain setups, perhaps just if pip tries to install imagecodecs before NumPy.
I found the recommendation to add numpy to setup_requires (see numpy/numpy#2434) in addition to install_requires but I see that you have commented this out here
I just wanted to check if there is a reason it was commented out or if you have any advice to avoid this issue? I am currently just using a regular pip install from a requirements file.
The text was updated successfully, but these errors were encountered:
Hi there, I am having an issue where sometimes setuptools is running the
finalize_options
function but numpy is not installed yet:This appears to only happen on certain setups, perhaps just if pip tries to install imagecodecs before NumPy.
I found the recommendation to add numpy to
setup_requires
(see numpy/numpy#2434) in addition toinstall_requires
but I see that you have commented this out hereimagecodecs/setup.py
Line 660 in 92a8620
I just wanted to check if there is a reason it was commented out or if you have any advice to avoid this issue? I am currently just using a regular pip install from a requirements file.
The text was updated successfully, but these errors were encountered: