1

I'm an anaconda3 beginner,

I want to install netCDF4 on my windows 10, here some commands I typed:

conda install hdf5
conda install netcdf4

they all list in my conda list, but when I import netCDF4, it failed, it said:

DLL load failed

Does anyone know what's wrong?

ImportError: DLL load failed

And I also try other commands

conda remove netcdf4
conda uninstall netcdf4
pip install netcdf4

It shows:

command "python setup.py egg_info" failed with error code 1 in C:\Users\Wang\AppData\Local\Temp\pip-build-2fymkcam\netcdf4\

pip install netcdf4 failed

Thanks.

Peter Badida
  • 11,310
  • 10
  • 44
  • 90
  • I just removed anaconda3, and install anacond2. >"conda install hdf5" + "conda install netcdf4" >"conda remove netcdf4" >"conda install netcdf4" again and it worked, i don't even know why – 尪仔小饅頭 Jun 05 '17 at 05:22
  • Possible duplicate of [How do I diagnose ImportError: DLL load failed when loading native Windows python modules in a virtualenv?](https://stackoverflow.com/questions/48352027/how-do-i-diagnose-importerror-dll-load-failed-when-loading-native-windows-pytho) – ivan_pozdeev Sep 18 '18 at 06:54

0 Answers0