当我try run 时,我遇到了一个问题:
pip install numpy
我得到:
unable to find vcvarsall.bat.
I followed this procedure: How to use MinGW's gcc compiler when installing Python package using Pip?.
- 我用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.使用以下行
[build] compiler=mingw32
在这里:
C:\Python33\Lib\distutils\distutils.cfg
还是犯同样的错误,不确定我做错了什么.
我使用的是Windows 8系统(32位),Python 3.3.我安装了Visual Studio 12.0,我希望最终将其用作Python的IDE.
谢谢你的帮助!
编辑:
easy_install numpy
工作没有故障.