I’m trying to install lightkurve through jupyter notebook and I have run across the following error message.
Previously to this I upgraded to pip using this
python -m pip install –upgrade pip
I used
! python -m pip install lightkurve –upgrade
I get the following error message:
Collecting lightkurve
Using cached lightkurve-2.4.2-py3-none-any.whl.metadata (6.0 kB)
Collecting astropy>=5.0 (from lightkurve)
Using cached astropy-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl.metadata (9.8 kB)
Requirement already satisfied: astroquery>=0.3.10 in /opt/anaconda3/lib/python3.9/site-packages (from lightkurve) (0.4.6)
Requirement already satisfied: beautifulsoup4>=4.6.0 in /opt/anaconda3/lib/python3.9/site-packages (from lightkurve) (4.10.0)
Requirement already satisfied: bokeh>=2.0.0 in /opt/anaconda3/lib/python3.9/site-packages (from lightkurve) (2.4.1)
Collecting fbpca>=1.0 (from lightkurve)
Using cached fbpca-1.0.tar.gz (11 kB)
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py
since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.