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
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
Hi,
So I have this project where I am forced to use 'glmnet', however for the last 10 hours I have tried almost everything possible to install it but it is giving some sort of lame 'numpy' dependency error even though I am having latest version of numpy installed. From the original documentation at https://pypi.org/project/glmnet/ I have found out that it need fortran compiler, I have installed that too and ensured its working. But to no use. I have pasteed the error code below for better understanding. Any help regarding this will be greatly appreciated as I can not find any latest post on this that works for the current version of python and pip. Also if I need to downgrade something and than I can install it, please let me know. I have tried this too vaguely but has not worked.
Thanks in advance.
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
install requires: 'numpy'. use pip or easy_install.
$ pip install numpy
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
So I have this project where I am forced to use 'glmnet', however for the last 10 hours I have tried almost everything possible to install it but it is giving some sort of lame 'numpy' dependency error even though I am having latest version of numpy installed. From the original documentation at https://pypi.org/project/glmnet/ I have found out that it need fortran compiler, I have installed that too and ensured its working. But to no use. I have pasteed the error code below for better understanding. Any help regarding this will be greatly appreciated as I can not find any latest post on this that works for the current version of python and pip. Also if I need to downgrade something and than I can install it, please let me know. I have tried this too vaguely but has not worked.
Thanks in advance.
ERROR:
C:\Users\PMLS>pip install glmnet
Collecting glmnet
Using cached glmnet-2.2.1.tar.gz (90 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [2 lines of output]
install requires: 'numpy'. use pip or easy_install.
$ pip install numpy
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The text was updated successfully, but these errors were encountered: