错误:运行 Python 脚本时需要 Microsoft Visual C++ 10.0(无法找到 vcvarsall.bat) [英] Error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat) when running Python script

查看:66
本文介绍了错误:运行 Python 脚本时需要 Microsoft Visual C++ 10.0(无法找到 vcvarsall.bat)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 PyCharm 安装 numpy,但我不断收到此错误:

Im trying to install numpy with PyCharm but i keep getting this error:

错误:需要 Microsoft Visual C++ 10.0(无法找到vcvarsall.bat).

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

有人可以向我解释一下我必须做些什么来修复这个错误(尽可能简单和详细)?我使用的是 python 3.4.2(我知道之前已经回答过这个问题,但我不明白).

Can someone please explain to me exactly what i have to do to fix this error(and as simple and detailed as possible)? im using python 3.4.2 (i know this has been answered before but i did not understand it).

推荐答案

我遇到了同样的错误,最终使用了 SourceForge(类似地,matplotlib 可以得到).

I got the same error and ended up using a pre-built distribution of numpy available in SourceForge (similarly, a distribution of matplotlib can be obtained).

提供适用于 32 位 2.7 和 3.3/3.4 的版本.
当然,PyCharm 会立即检测到它们.

Builds for both 32-bit 2.7 and 3.3/3.4 are available.
PyCharm detected them straight away, of course.

这篇关于错误:运行 Python 脚本时需要 Microsoft Visual C++ 10.0(无法找到 vcvarsall.bat)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆