Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11152 > unrolled thread

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

Started byGelonida N <gelonida@gmail.com>
First post2011-08-11 00:44 +0200
Last post2011-08-10 20:24 -0700
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  problem installing  psyco on windows (Unable to find vcvarsall.bat) Gelonida N <gelonida@gmail.com> - 2011-08-11 00:44 +0200
    Re: problem installing  psyco on windows (Unable to find vcvarsall.bat) Miki Tebeka <miki.tebeka@gmail.com> - 2011-08-10 20:24 -0700
      Re: problem installing psyco on windows (Unable to find vcvarsall.bat) Gelonida N <gelonida@gmail.com> - 2011-08-11 13:01 +0200
    Re: problem installing psyco on windows (Unable to find vcvarsall.bat) Miki Tebeka <miki.tebeka@gmail.com> - 2011-08-10 20:24 -0700

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

FromGelonida N <gelonida@gmail.com>
Date2011-08-11 00:44 +0200
Subjectproblem installing psyco on windows (Unable to find vcvarsall.bat)
Message-ID<mailman.2128.1313016306.1164.python-list@python.org>
Hi,

I'd like to install psyco on my windows host


I'm using python 2.6.4 (32 bit version)

I installed easy_intall and  pip

easy_install psyco
and
pip install psyco fail both with the message
error: Setup script exited with error: Unable to find vcvarsall.bat


I read, that this means I shoul dinstall a C-compiler
I also read, that I should NOT Micrusoft Visual C++ Express 2010
(which is unfortunately exactly the version, which I installed for some
other activity.


So my question:

- If I install visual Studio 2008 addtiojnally to visualstudia 2010,
will easy_install find this compiler?
- I read about the alternative of using MingW instead of Visual Studio
Express 2008.

What could influence my choice of Compiler?

Thanks for any suggestions

[toc] | [next] | [standalone]


#11173

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2011-08-10 20:24 -0700
Message-ID<d6229801-992d-4870-b8bc-90588b40d1be@glegroupsg2000goo.googlegroups.com>
In reply to#11152
You can download the sources tarball and when building specify the compiler.
See http://docs.python.org/install/index.html#gnu-c-cygwin-mingw

[toc] | [prev] | [next] | [standalone]


#11204 — Re: problem installing psyco on windows (Unable to find vcvarsall.bat)

FromGelonida N <gelonida@gmail.com>
Date2011-08-11 13:01 +0200
SubjectRe: problem installing psyco on windows (Unable to find vcvarsall.bat)
Message-ID<mailman.2170.1313060500.1164.python-list@python.org>
In reply to#11173
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

[toc] | [prev] | [next] | [standalone]


#11174 — Re: problem installing psyco on windows (Unable to find vcvarsall.bat)

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2011-08-10 20:24 -0700
SubjectRe: problem installing psyco on windows (Unable to find vcvarsall.bat)
Message-ID<mailman.2143.1313033096.1164.python-list@python.org>
In reply to#11152
You can download the sources tarball and when building specify the compiler.
See http://docs.python.org/install/index.html#gnu-c-cygwin-mingw

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web