Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Unable to install for python in Windows using pip or conda #83

Open
@noman-jamraiz-abbasi

Description

@noman-jamraiz-abbasi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions