Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > visual studio 2010 question

Reply
Thread Tools

visual studio 2010 question

 
 
Ralf Haring
Guest
Posts: n/a
 
      09-20-2010

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
 
Reply With Quote
 
 
 
 
David Cournapeau
Guest
Posts: n/a
 
      09-20-2010
On Mon, Sep 20, 2010 at 3:08 PM, Ralf Haring <> wrote:
>
> 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
 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      09-20-2010
David Cournapeau <> writes:

> On Mon, Sep 20, 2010 at 3:08 PM, Ralf Haring <> wrote:
>>
>> 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,


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
 
Reply With Quote
 
Robert Kern
Guest
Posts: n/a
 
      09-20-2010
On 9/20/10 3:54 PM, Diez B. Roggisch wrote:
> David Cournapeau<> writes:
>
>> On Mon, Sep 20, 2010 at 3:08 PM, Ralf Haring<> wrote:
>>>
>>> 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,

>
> 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

 
Reply With Quote
 
David Cournapeau
Guest
Posts: n/a
 
      09-21-2010
On Tue, Sep 21, 2010 at 5:54 AM, Diez B. Roggisch <> wrote:
> David Cournapeau <> writes:
>
>> On Mon, Sep 20, 2010 at 3:08 PM, Ralf Haring <> wrote:
>>>
>>> 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,

>
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Share-Point-2010 ,Share-Point -2010 Training , Share-point-2010Hyderabad , Share-point-2010 Institute Saraswati lakki ASP .Net 0 01-06-2012 06:39 AM
CFP with Extended Deadline of Mar. 31, 2010: The 2010 InternationalConference on Modeling, Simulation, and Visualization Methods (MSV'10), USA,July 2010 A. M. G. Solo VHDL 0 03-25-2010 12:04 PM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Is Visual Studio Team System and Visual Studio Foundation Server are same?. Thirumalai ASP .Net 0 05-22-2006 08:48 AM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57