nmcdev / meteva

提供气象产品检验相关程序
181 stars 79 forks source link

安装1.8版本出现错误 #163

Closed rossbyman closed 7 months ago

rossbyman commented 7 months ago

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [27 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\abb\AppData\Local\Temp\pip-install-7csg3vg7\netcdf4_fc7c297061b7477f850bf24d35d5c9a4\setup.py", line 425, in _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs) File "C:\Users\abb\AppData\Local\Temp\pip-install-7csg3vg7\netcdf4_fc7c297061b7477f850bf24d35d5c9a4\setup.py", line 366, in _populate_hdf5_info raise ValueError('did not find HDF5 headers') ValueError: did not find HDF5 headers reading from setup.cfg...

      HDF5_DIR environment variable not set, checking some standard locations ..
  checking d:\Users\abb\anaconda3\envs\nmc\include ...
  hdf5 headers not found in d:\Users\abb\anaconda3\envs\nmc\include
  checking d:\Users\abb\anaconda3\envs\nmc\Library\include ...
  hdf5 headers not found in d:\Users\abb\anaconda3\envs\nmc\Library\include
  checking C:\Users\abb\include ...
  hdf5 headers not found in C:\Users\abb\include
  checking /usr/local\include ...
  hdf5 headers not found in /usr/local\include
  checking /sw\include ...
  hdf5 headers not found in /sw\include
  checking /opt\include ...
  hdf5 headers not found in /opt\include
  checking /opt/local\include ...
  hdf5 headers not found in /opt/local\include
  checking /usr\include ...
  hdf5 headers not found in /usr\include
  [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.