(py27) PS C:\Users\chenb> pip install netCDF4-1.5.3-cp27-cp27m-win_amd64.whl
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing c:\users\chenb\netcdf4-1.5.3-cp27-cp27m-win_amd64.whl
Requirement already satisfied: numpy>=1.7 in d:\programdata\anaconda3\envs\py27\lib\site-packages (from netCDF4==1.5.3) (1.16.6)
Collecting cftime
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/0b/e6/2508d15ffa91c512ff9f6c9d9070c675c7fc2d6866adef6f44292623b09d/cftime-1.2.1.tar.gz (53 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
最新推荐文章于 2020-09-11 16:14:34 发布
在尝试使用pip安装netCDF4时遇到错误,提示需要Microsoft Visual C++ 9.0。为了解决这个问题,可以从指定链接下载VCForPython27.msi进行安装,或者通过提供的百度云盘链接获取并安装,安装后重新运行pip install命令即可解决依赖问题。
摘要由CSDN通过智能技术生成