I am realizing some context may help. The reason that I was trying to use pip install was so that I could get the code below to run, which was working a few days ago but then stopped and began giving me error messages to install 'requests' and 'aiohttp'. It is no longer giving those error messages, but is now just running forever. It may work better to tackle this issue instead, rather than the install. Not sure, but appreciate all the help we can get!
Thanks,
Lillly
Heres the code that was working, then giving errors, and now runs forever:
uri = "
https://data.desi.lbl.gov/public/edr/vac/edr/fastspecfit/fuji/v3.2/catalogs/fastspec-fuji.fits"
from astropy.io import fits
# `fits.open` will download the primary header
with fits.open(uri, use_fsspec=True) as hdul:
# Download a single header
header = hdul[1].header
header = hdul[2].header
# Download a single data array
data = hdul[1].data
moredata = hdul[2].data