problem installing psyco on windows (Unable to find vcvarsall.bat)

Gelonida N gelonida at gmail.com
Thu Aug 11 07:01:25 EDT 2011


On 08/11/2011 05:24 AM, Miki Tebeka wrote:
> You can download the sources tarball and when building specify the compiler.
> See http://docs.python.org/install/index.html#gnu-c-cygwin-mingw

Your answer put me on the right track.


This works:
- downloading mingw
- downloading and extracting the tarfile the tar file
- python setup.py build --compiler=mingw32
- python setup.py install


In order to directly use pip / easy_install

I created the file %USERPROFILE%\pydistutils.cfg
with following two contents:
[build]
compiler=mingw32


and added mingw to my search path.

now in can directly type
pip install psyco



Thanks again




More information about the Python-list mailing list