error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

在尝试使用pip安装netCDF4时遇到错误,提示需要Microsoft Visual C++ 9.0。为了解决这个问题,可以从指定链接下载VCForPython27.msi进行安装,或者通过提供的百度云盘链接获取并安装,安装后重新运行pip install命令即可解决依赖问题。
摘要由CSDN通过智能技术生成

(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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值