我已经在Windows7 64bit中安装了python(x,y)2.7.6.1
并尝试安装一个包“imreg”(来自here)
python setup.py install
我得到这个错误:
no module named msvccompiler in numpy.distutils trying from distutils customize msvccompiler
我安装了Python 2.7的Visual Studio 2008和微软Visual C++编译器(从{a2})
但我不知道怎么解决这个问题
Tags:
我用这种方式解决了这个问题:
<> MinGW用C++编译器安装。在“C:\ Python27\Lib\distutils”中创建一个文件“distutils.cfg”并添加以下行:
答案来自How to use MinGW's gcc compiler when installing Python package using Pip?
相关问题 更多 >
编程相关推荐