I'm trying to install dulwich for bzr-git.now, I use Python 2.6 based bazaar.(I use msys.) My steps are as follows:
If you know any hints, tell me please. | |||||||||||||||||
|
For Windows installations: While running setup.py for package installations Python 2.7 searches for an installed Visual Studio 2008. You can trick Python to use a newer Visual Studio by setting the correct path in VS90COMNTOOLS environment variable before calling If you have Visual Studio 2010 installed, execute
or with Visual Studio 2012 installed (Visual Studio Version 11)
or with Visual Studio 2013 installed (Visual Studio Version 12) | |||||||||||||||||||||
|
I found the solution. I had the exact same problem, and error, installing 'amara'. I had mingw32 installed, but distutils needed to be configured.
Make sure environment is set by opening a new | |||||||||||||||||||||
|
You can install compiled version from http://www.lfd.uci.edu/~gohlke/pythonlibs/ | |||||||||||||
|
I just had this same problem, so I'll tell my story here hoping it helps someone else with the same issues and save them the couple of hours I just spent: I have mingw (g++ (GCC) 4.6.1) and python 2.7.3 in a windows 7 box and I'm trying to install PyCrypto. It all started with this error when running setup.py install:
Easily solved after googling the error by specifying mingw as the compiler of choice:
The problem is that then I got a different error:
It turns out that my anti-virus was blocking the execution of a freshly compiled .exe. I just disabled the anti-virus "resident shield" and went to the next error:
This solved it: "Either install a slightly older version of MinGW, or edit distutils\cygwinccompiler.py in your Python directory to remove all instances of -mno-cygwin." (from here) Now, I can finally start working. | |||||
|
At least I found my solution from drawing feedback from other answers using the Visual Studio C++ 2008 compilers rather than installing through the mingw32 path. Here's the steps:
| |||||||||||||||||||||
|
I have python 2.73 and windows 7 .The solution that worked for me was:
To deal with MinGW not recognizing the -mno-cygwin flag anymore, remove the flag in C:\Python27\Lib\distutils\cygwincompiler.py line 322 to 326, so it looks like this: |
联系客服