Windows安装python模块pandas报错: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.ba...

安装pip install tushare时报错,缺少pandas模块

 

pip install pandas

报错:error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)

Windows安装python模块pandas报错: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.ba..._第1张图片

不打算安装 Visual C++ 新版本,可以使用 whl 文件安装:

下载地址: https://www.lfd.uci.edu/~gohlke/pythonlibs/

Windows安装python模块pandas报错: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.ba..._第2张图片

 

下载之后,cmd进入该文金所在目录,执行以下命令,比如我下载的是 pandas-0.22.0-cp34-cp34m-win_amd64.whl

pip install pandas-0.22.0-cp34-cp34m-win_amd64.whl

Windows安装python模块pandas报错: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.ba..._第3张图片

 

pandas安装成功!

可以继续安装pip install tushare

转载于:https://www.cnblogs.com/allister/p/8629106.html

你可能感兴趣的:(Windows安装python模块pandas报错: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.ba...)