ATMOS icon indicating copy to clipboard operation
ATMOS copied to clipboard

pip installation broken

Open jhollowed opened this issue 2 years ago • 2 comments

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.

jhollowed avatar Jan 10 '23 21:01 jhollowed

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

CharlesPlusC avatar Aug 02 '23 17:08 CharlesPlusC

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!

CharlesPlusC avatar Aug 02 '23 17:08 CharlesPlusC