Open liqiang1102 opened 5 months ago
i tried also at my local at appears ERROR: Could not install packages due to an OSError: [Errno 21] Is a directory: '/home/usr/anaconda3/envs/proj2/lib/python3.9/site-packages/numpy-1.23.5.dist-info/METADATA'
I got the same issue!
Collecting pysurvival Using cached pysurvival-0.1.2.tar.gz (4.7 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from pysurvival) (3.7.1) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from pysurvival) (1.25.2) Requirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from pysurvival) (1.5.3) Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (from pysurvival) (23.1.2) Collecting progressbar (from pysurvival) Using cached progressbar-2.5.tar.gz (10 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: pyarrow in /usr/local/lib/python3.10/dist-packages (from pysurvival) (14.0.2) Requirement already satisfied: scikit-learn in /usr/local/lib/python3.10/dist-packages (from pysurvival) (1.2.2) Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from pysurvival) (1.11.4) Collecting sklearn (from pysurvival) Using cached sklearn-0.0.post12.tar.gz (2.6 kB) error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error 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.