Open SCO-SCI opened 4 months ago
I made a new attempt in the Anaconda environment. But it still failed. Below is the job log:
(base) C:\Users\Ed>conda activate redrock_env
(redrock_env) C:\Users\Ed>cd C:\Users\Ed\Documents\Ed\Ed\@_Astronomy_Research\DESI\DESI\File_Analysis_Software\Visualization_Software\redrock
(redrock_env) C:\Users\Ed\Documents\Ed\Ed\@_Astronomy_Research\DESI\DESI\File_Analysis_Software\Visualization_Software\redrock>pip install -r requirem ents.txt Collecting desispec (from -r requirements.txt (line 11)) Cloning https://github.com/desihub/desispec.git (to revision 0.51.13) to c:\users\ed\appdata\local\temp\pip-install-yyenx7r1\desispec_9ca2bbaad8a842 fd90eaf8dad3c479b0 Running command git clone --filter=blob:none --quiet https://github.com/desihub/desispec.git 'C:\Users\Ed\AppData\Local\Temp\pip-install-yyenx7r1\de sispec_9ca2bbaad8a842fd90eaf8dad3c479b0' Running command git checkout -q 99b4bd8f3ce9e9e4352975b13daff4e83e7e8d4b Resolved https://github.com/desihub/desispec.git to commit 99b4bd8f3ce9e9e4352975b13daff4e83e7e8d4b Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "
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.
(redrock_env) C:\Users\Ed\Documents\Ed\Ed\@_Astronomy_Research\DESI\DESI\File_Analysis_Software\Visualization_Software\redrock> (redrock_env) C:\Users\Ed\Documents\Ed\Ed\@_Astronomy_Research\DESI\DESI\File_Analysis_Software\Visualization_Software\redrock>
I don't have a windows machine for testing, maybe another user or contributor could take a look
Thank you for looking into it. I decided to install Ubuntu on a virtual machine in my Windows OS and that fixed the problem. It is working fine now.
I'm trying to get things working on windows, but its slow going as I have to debug using the continious integration. See here #405
If you have any pointers on why its not finding the cfitsio headers I would be grateful
I came across that same problem with cfitsio. I probably spent a day on it. After coming up empty, I just moved everything to the Linux WSL and resigned myself to work in that environment. I am still working on the problem though and if I come up with anything I will let you know.
I attempted to use pip install for fitsio on a Windows 10, 64-bit machine today. Here are the errors I encountered: