lcx366 / ATMOS

A python package to estimate the atmosphere parameters
MIT License
32 stars 5 forks source link

pip installation broken #6

Open jhollowed opened 1 year ago

jhollowed commented 1 year ago

I am unable to install the package with pip;

Collecting pyatmos
  Using cached pyatmos-1.2.3-py3-none-any.whl (47 kB)
Requirement already satisfied: astropy in ./miniconda3/lib/python3.9/site-packages (from pyatmos) (5.2)
Collecting pyshtools
  Using cached pyshtools-4.10.1.tar.gz (38.1 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [43 lines of output]

  ...

  numpy.distutils.system_info.FFTWNotFoundError:
          FFTW (http://www.fftw.org/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [fftw]) or by setting
          the FFTW environment variable.
      [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.
CharlesPlusC commented 1 year ago

I have the same issue. Please let me know if this ever get fixed! thanks :)

CharlesPlusC commented 1 year ago

Hey @jhollowed I fixed this. I had to conda install -c conda-forge fftw, conda install -c conda-forge pyshtools and then it let me pip install pyatmos. Hope this works for you too!