New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install due to numpy==1.19.4 #333
Comments
I have had this issue a few days before. The best current solution under Win (Version 2004) is:
Best |
PS: One solution for gradient-cli (+ numpy) would be using Docker/Hyper-V under Windows to have a native Linux system... |
@weikaolun @lamroger I am still able to repo this issue with the latest gradient-cli which pulls in gradient-utils-0.3.1 Steps to repro: on macos: Also gradient-sdk is no longer compatible with gradient-utils; we need to revise samples to account for this. |
@weikaolun @lamroger |
I've had similar issues when trying to install gradient. I'm trying to install in a pipenv, and it produces a resolution failure when resolving dependencies. The error it returns is as follows: ERROR: Could not find a version that matches numpy==1.18.5,==1.19.3,>=1.12.0,>=1.13.0,>=1.13.3,>=1.14.5,>=1.15,>=1.15.4,>=1.7,>=1.9.1,~=1.19.2 And the incompatible versions: There are incompatible versions in the resolved dependencies:
numpy==1.19.3 (from -r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 6))
numpy==1.18.5 (from gradient-utils==0.3.2->gradient==1.3.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 10))
numpy>=1.12.0 (from tensorboard==2.4.0->tensorflow==2.4.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 15))
numpy>=1.12.0 (from tensorflow-hub==0.10.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 2))
numpy>=1.13.0 (from yellowbrick==1.2->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 7))
numpy>=1.13.3 (from scikit-learn==0.23.2->sklearn==0.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 13))
numpy>=1.14.5 (from scipy==1.5.4->keras==2.4.3->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 12))
numpy>=1.15 (from matplotlib==3.3.3->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 4))
numpy>=1.15 (from seaborn==0.11.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 11))
numpy>=1.15.4 (from pandas==1.1.5->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 14))
numpy>=1.7 (from h5py==2.10.0->keras==2.4.3->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 12))
numpy>=1.7 (from opt-einsum==3.3.0->tensorflow==2.4.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 15))
numpy>=1.9.1 (from keras-preprocessing==1.1.2->tensorflow==2.4.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 15))
numpy>=1.9.1 (from keras==2.4.3->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 12))
numpy~=1.19.2 (from tensorflow==2.4.0->-r /tmp/pipenvn4iqexjvrequirements/pipenv-5gja4g8i-constraints.txt (line 15)) Has anyone found a resolution? |
Hi @Paulj1989, would you be able to use tensorflow 2.3.1 instead? We pinned numpy to 1.18.5 in gradient-utils to resolve the above issues and tensorflow 2.3.1 should be compatible. |
Success! Thanks for your help. |
Hi I am unable to use gradient on python 3.7.9 due to RuntimeError caused by numpy==1.19.4
RuntimeError: The current Numpy installation ('c:\users\XXXX\envs\gradient\lib\site-packages\numpy\init.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
I tried downgrading the numpy, but it appears to be incompatible and i got the ff ModuleNotFoundError:
ModuleNotFoundError: No module named '_curses'
The text was updated successfully, but these errors were encountered: