[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2015-04-09 Thread Zachary Ware
Zachary Ware added the comment: Considering the consensus somewhere in the middle of this discussion that this is not a Python bug, the unavailability of VS2008 Express, and the availability of the Visual C++ Compiler for Python 2.7 package, I'm closing this as 'wont fix'. If anyone just

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2015-03-27 Thread Paul Moore
Paul Moore added the comment: The correct solution to this issue now is to install the Microsoft supplied Visual C++ Compiler for Python 2.7 package (available as a free download from MSDN). That has all the components needed to build 32 and 64-bit extensions. Your setup.py needs to use

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2015-03-27 Thread Florian Bruhin
Changes by Florian Bruhin python@the-compiler.org: -- nosy: +The Compiler ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2015-03-27 Thread Zachary Ware
Zachary Ware added the comment: Paul Moore added the comment: Note that in spite of the name, the process should also work for Python 3.2 and 3.3, which also use VS2008 (but I haven't tested that explicitly). Just 3.2; 3.3 was the first version to use VS2010. --

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-10-05 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Here's another patch fixing the Visual Studio Express edition issue plus some minor related code-cleanup. See the Hg repo at: https://bitbucket.org/jurko/cpython branch: jurko/distutils_msvc_express_fix direct link:

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-10-05 Thread Jurko Gospodnetić
Changes by Jurko Gospodnetić jurko.gospodne...@gmail.com: Added file: http://bugs.python.org/file36823/218ef482e1e4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-10-05 Thread Jurko Gospodnetić
Changes by Jurko Gospodnetić jurko.gospodne...@gmail.com: Removed file: http://bugs.python.org/file36823/218ef482e1e4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-09-23 Thread Paul Moore
Paul Moore added the comment: From the comments here, there seems to be a belief that this is somehow related to VC Express only. I have hit this error when using the MS SDK (both 7.0 on Python 2.7, and 7.1 on Python 3.3 and 3.4) with DISTUTILS_USE_SDK set. Unless I have somehow

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-08-18 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___ Python-bugs-list

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that the 2.7 patch is still valid but have no idea whether or not any work is needed on 3.4 or 3.5. -- nosy: +BreamoreBoy, zach.ware versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-08-18 Thread Steve Dower
Steve Dower added the comment: There is other work going on that will make the patches unnecessary. One problem is that vcvarsall.bat isn't where msvc9compiler.py is looking, which can be fixed with monkey patching in setup.py or in setuptools. The other problem is that VC9 is hard to get

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-06-23 Thread Boris Dayma
Changes by Boris Dayma koush...@gmail.com: -- nosy: +Borisd13 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___ Python-bugs-list mailing

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-05-13 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: -skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___ Python-bugs-list

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-04-22 Thread Mike Mazurek
Mike Mazurek added the comment: In building pycrypto for python 3.4 I applied patch msvccompiler9_33.diff. After applying the patch there is an unassigned variable: KEY_BASE on line 67 of the patched file. After setting KEY_BASE = Software\\Wow6432Node\\Microsoft\\ before its first use I was

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-26 Thread anuj0990
anuj0990 added the comment: This is very useful information shared here. I am really thankful for this. a href=http://www.99th.co.in 99th.co.in/a -- nosy: +anuj0990 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-26 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- Removed message: http://bugs.python.org/msg212255 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-25 Thread Justin Foo
Justin Foo added the comment: I think getting this bug fixed would be really nice from a user experience point of view. I've further into this for my own setup, which is Python 3.3 64-bit, Visual C++ Express 2010 and the Windows SDK v7.1 (plus service packs), which is probably a typical

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread ipatrol
ipatrol added the comment: The latest patch has an indentation error in an if-else clause, but I can't figure out what exactly was intended by the author. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- assignee: loewis - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___ Python-bugs-list

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Steve: Why are you providing a Python 3.3 patch? AFAICT, the issue does not exist with VS 2010 (express). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread Steve Dower
Steve Dower added the comment: My patches (which I've backed away from now - between wheels and monkey patching Distutils from a setup.py, there are enough workarounds) also handled the fact that VS 2008 is no longer freely/officially available, and presumably VS 2010 will eventually go the

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-12-10 Thread Justin Foo
Justin Foo added the comment: The speedups extension for MarkupSafe (which has a pure Python fallback) on Python 3.3.3 64-bit was happily compiled with `pip install markupsafe` after applying Steve's patch and Li Wah's definition for KEY_BASE. -- nosy: +jfoo

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-11-25 Thread Martin Dengler
Changes by Martin Dengler mar...@martindengler.com: -- nosy: +mdengler ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___ Python-bugs-list

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-09-06 Thread Steve Dower
Steve Dower added the comment: I believe that is all that is missing from the patches I posted, though I'd have thought that having Visual C++ 2010 Express installed would be sufficient without the patch (though you didn't mention C++, so maybe you have a different one?). --

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-09-04 Thread Li Wah Teng
Li Wah Teng added the comment: About the 'KEY_BASE' is not defined error in Steve Dower's diff, I was able to fix it by adding the following line before the KEY_BASE variable is referenced: KEY_BASE = rSoftware\Microsoft\\ With this, I was finally able to use the patched msvccompiler9.py to

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-07-31 Thread Bill Gale
Bill Gale added the comment: so i hit the same exception, here is how i solved it. environment: windows 7 enterprise 64 bit python 2.7.5 64 bit visual studio 2008 32 bit issue: pip installs failed with the above exception. solution: there are two parts. 1. install 64 bit components to vs2008

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-07-08 Thread Steve Dower
Steve Dower added the comment: I must have missed something when I merged files to create the diffs. In any case, you'll still require VC9 or VC10 to be able to build something compatible with a CPython release (though maybe that doesn't matter for Cython? I don't know). When I get a chance

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-07-03 Thread Frankie Jhou
Frankie Jhou added the comment: Microsoft using Visual Studio 2012 (VC 11.0) now, Errors happened again. I just want to install Cython. Error: Unable to find vcvarsall.bat ValueError: [u'path', u'include', u'lib'] NameError: name 'KEY_BASE' is not defined KeyError: '9.0' error: command

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-04-09 Thread Steve Dower
Steve Dower added the comment: I've added a patch that replaces query_vcvarsall() with an implementation that does not try and use the batch file. Instead, the functionality of the batch file (effectively, reading the base path from the registry and appending constants) is reproduced in

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-04-09 Thread Steve Dower
Steve Dower added the comment: Adding patch for 2.7. -- Added file: http://bugs.python.org/file29755/msvccompiler9_27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Takayuki SHIMIZUKAWA
Takayuki SHIMIZUKAWA added the comment: Hi Steve, This becomes more of an issue since VC++ 2008 Express is no longer available for download (unless you're an MSDN subscriber) Here: http://www.microsoft.com/en-us/download/details.aspx?id=13276 --

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Steve Dower
Steve Dower added the comment: This becomes more of an issue since VC++ 2008 Express is no longer available for download (unless you're an MSDN subscriber) Here: http://www.microsoft.com/en-us/download/details.aspx?id=13276 That's just the service pack and it won't install unless you

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.03.2013 16:39, Steve Dower wrote: Steve Dower added the comment: This becomes more of an issue since VC++ 2008 Express is no longer available for download (unless you're an MSDN subscriber) Here:

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Steve Dower
Steve Dower added the comment: That's just the service pack and it won't install unless you already have VS installed. There is no way (other than being an MSDN subscriber) to get VS 2008 at this point - I've checked. There is, but you have to know what to look for :-) Fair enough, but I

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 23.03.2013 22:33, Steve Dower wrote: Steve Dower added the comment: That's just the service pack and it won't install unless you already have VS installed. There is no way (other than being an MSDN subscriber) to get VS 2008 at this point - I've

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-22 Thread Steve Dower
Steve Dower added the comment: This becomes more of an issue since VC++ 2008 Express is no longer available for download (unless you're an MSDN subscriber), though the compiler itself is still available as part of http://www.microsoft.com/en-us/download/details.aspx?id=3138 (for VC9) I'll

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-22 Thread Steve Dower
Steve Dower added the comment: ('ignore extra arguments' meaning they could be returned from find_vcvarsall() and nobody will notice. Though it doesn't bother me if the fallback is handled at a higher level.) -- ___ Python tracker

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-03-22 Thread Steve Dower
Steve Dower added the comment: I've dug deeper into VC10 and things are even worse there - without VS installed I don't think there's any way for distutils to work without completely replacing query_vcvarsall() (or msvc9compiler, for that matter). I'm willing to write such a replacement,

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-02-24 Thread Takayuki SHIMIZUKAWA
Takayuki SHIMIZUKAWA added the comment: FYI. I was able to build both 32bit/64bit. Python 2.7.3 (32bit) WinXP Professional SP3 (x86) Visual Studio C++ Express 2008 SP1 Microsoft Windows SDK 2008 invoke Windows SDK's `CMD Shell` and do following: C:\tmp setenv /x64 /release C:\tmp set

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-10-26 Thread Daniel Oźminkowski
Daniel Oźminkowski added the comment: Python 2.7.3 WinXP Professional 2002 + SP3 Visual Studio C++ Express 2008 I bumped into this error trying to install fabric. One of the installation steps is compiling pycrypto. After looking into C:\Program Files\Microsoft Visual Studio

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-05-18 Thread Piotr Dobrogost
Piotr Dobrogost p...@bugs.python.dobrogost.net added the comment: Just bumped into this issue when installing gevent 1.0b2 on Vista 64bit using pip. I think it would be worth to mention that although I'm not quite new to Python and in the past I already investigated issue with distutils not

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-04-20 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: -mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-04-11 Thread Yap Sok Ann
Yap Sok Ann sok...@gmail.com added the comment: On 64-bit Windows with Visual Studio 2008 Professional, I also need to apply vcvars4.diff to avoid getting the ValueError. Is this something to be expected? -- nosy: +sayap ___ Python tracker

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-28 Thread Victor Lin
Victor Lin borns...@gmail.com added the comment: My environment is Windows 7 64bits with VC++ 2008 Express and Python2.7.2. I encountered same problem, I have tried all solution posted here, but non of them work. Eventually, I add C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin to

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Victor, can you apply this patch and report that it works. In particular, if it does *not* work, can you please report the exact way of failing? (if you can, please also try to investigate why it fails). --

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-28 Thread Victor Lin
Victor Lin borns...@gmail.com added the comment: Oddly, can't reproduce the problem anymore. I try to install win7 on virtual machine, but it works as well. I think the issue might caused by something else... not sure, so strange :S Will look into detail once I encounter this issue again.

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Martin: They are looking for you to review this, in particular see: http://bugs.python.org/issue7511#msg106420 -- assignee: tarek - loewis nosy: +jafo ___ Python tracker rep...@bugs.python.org

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2011-06-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hmm, in http://bugs.python.org/issue7511#msg106420 Tarek appeared to be supportive of the patch. I believe Martin has more knowledge about Windows. -- ___ Python tracker rep...@bugs.python.org

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2011-06-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Marc-Andre Lemburg rep...@bugs.python.org wrote: Regarding the latest patch: This is not the right approach, since find_vcvarsall() is supposed to return the path to the vcvarsall.bat file and not an architecture specific setup

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2011-06-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: -r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2011-06-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Stefan Krah wrote: Stefan Krah stefan-use...@bytereef.org added the comment: Marc-Andre Lemburg rep...@bugs.python.org wrote: Wouldn't it be better to have distutils tell the user about the possible options, instead of guessing