visual studio 2010 question

R

Ralf Haring

After running into the error "Setup script exited with error: Unable
to find vcvarsall.bat" when trying to use easy_install / setuptools a
little digging showed that the MS compiler files in distutils only
support up to Studio 2008. Does anyone know if there is a timetable
for when Studio 2010 will be supported?

I am using python 2.6.5, but web searching seemed to show that 2.7 or
3.X didn't support it yet either.

-Ralf Haring
 
D

David Cournapeau

After running into the error "Setup script exited with error: Unable
to find vcvarsall.bat" when trying to use easy_install / setuptools a
little digging showed that the MS compiler files in distutils only
support up to Studio 2008. Does anyone know if there is a timetable
for when Studio 2010 will be supported?

I am using python 2.6.5, but web searching seemed to show that 2.7 or
3.X didn't support it yet either.

You should use VS 2008 - the lack of distutils support is only the
first of a long list of issues if you want to use another compiler to
build python extensions. Unless you really know what you are doing,
you are better off with VS 2008,

cheers,

David
 
D

Diez B. Roggisch

David Cournapeau said:
You should use VS 2008 - the lack of distutils support is only the
first of a long list of issues if you want to use another compiler to
build python extensions. Unless you really know what you are doing,
you are better off with VS 2008,

Forgive my ignorance, but AFAIK mingw can be used to build extensions
for standard python distributions. After all, it's C we're talking here,
not C++. So I have difficulties imagining VS2010 is that much of a
problem. So - which problems you expect?

Diez
 
R

Robert Kern

Forgive my ignorance, but AFAIK mingw can be used to build extensions
for standard python distributions. After all, it's C we're talking here,
not C++. So I have difficulties imagining VS2010 is that much of a
problem. So - which problems you expect?

VS2010 uses a different C runtime DLL than VS2008 and Python 2.6, and I believe
this cannot be changed. This will cause errors for a variety of Python extension
modules. mingw can be retargeted to link against one of several different C
runtimes, including the one VS2008 uses.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
 
D

David Cournapeau

Forgive my ignorance, but AFAIK mingw can be used to build extensions
for standard python distributions.

Yes, mingw may be used - I assumed that the OP was interesting in MS compilers.
After all, it's C we're talking here,
not C++. So I have difficulties imagining VS2010 is that much of a
problem. So - which problems you expect?

The ones described by Robert,

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top