在Windows 8中使用Python 3.3无法找到vcvarsall.bat [英] Unable to find vcvarsall.bat using Python 3.3 in Windows 8
问题描述
尝试运行时遇到问题:
pip install numpy
我得到:
unable to find vcvarsall.bat.
我遵循了以下过程:使用Pip安装Python软件包时如何使用MinGW的gcc编译器?.
- 我安装了MinGW,并选中了C ++编译器选项
- 我将MinGW添加到了自己的路径
这是我的路
C:\Python33\;%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM;%SYSTEMROOT%\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Python33\;C:\Python33\Scripts;C:\MinGW\bin;
-
我用以下几行创建了distutils.cfg
I created distutils.cfg with the following lines
[build] compiler=mingw32
在这里:
C:\Python33\Lib\distutils\distutils.cfg
仍然出现相同的错误,不确定我在做什么错.
Still getting the same error, not sure what I am doing wrong.
我正在使用Windows 8系统(32位),Python 3.3.我安装了Visual Studio 12.0,最终希望将其用作Python的IDE.
I am using Windows 8 system (32 bit), Python 3.3. I installed Visual Studio 12.0 which I would want to ultimately use as my IDE for Python.
感谢您的帮助!
easy_install numpy
正常工作.
推荐答案
我使用的是相同的设置,而安装Visual Studio 2010 Express是我最简单的解决方案. http://www.microsoft.com/visualstudio/chi/downloads#d-2010-express
I am using the same setup and installing visual studio 2010 express was the easiest solution for me. http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express
Python 3.3是使用VS 2010构建的. http://blog .python.org/2012/05/recent-windows-changes-in-python-33.html
Python 3.3 was built using VS 2010. http://blog.python.org/2012/05/recent-windows-changes-in-python-33.html
这篇关于在Windows 8中使用Python 3.3无法找到vcvarsall.bat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!