Reputation: 407
I have already install python(x,y)2.7.6.1 in Windows7 64bit
and try to install a package "imreg" (from here)
python setup.py install
I am getting this error:
no module named msvccompiler in numpy.distutils trying from distutils customize msvccompiler
I have installed visual studio 2008 and Microsoft Visual C++ Compiler for Python 2.7(from here)
but I don't know how to solve this problem
Upvotes: 2
Views: 12323
Reputation: 407
I solved this question by this way:
MinGW with C++ Compiler installed.
in " C:\Python27\Lib\distutils" create a file "distutils.cfg" and add these lines:
[build]
compiler=mingw32
the answer is from How to use MinGW's gcc compiler when installing Python package using Pip?
Upvotes: 1