Update the required C compiler for Windows to a supported version.

Before anyone starts flaming me about "off topic" -- I already know that my suggestion is going to be different from what is usually discussed on this group. I may not write often, but I am a faithful reader (a.k.a. lurker). Please bear with me. I am not aware of any other place where what I am about to say is _on_ topic. ... Yesterday, I set out to try installing a medium-size django application on Windows. It did not go well. It is now 24 hours later -- and I have tried many things. The problem was that "pip" needed to compile a module. There was no C compiler on the machine. After 24 hours of web searching and trying many things, I have come to the following conclusion: I cannot compile a Python extension module with any Microsoft compiler I can obtain. My new Windows 8.1 computer is running Visual Studio 2013 -- which would be fine if I wanted to compile my own Python interpreter, I suppose. I spent most of the day trying to find a working Visual Studio 2008 or C++ 7.1 compiler. The only things I could find to download were patches for Visual Studio 2010. I tried several variations to install it on my old Windows 7 laptop -- all to no avail. May I humbly suggest that Python 3.4 be released using Microsoft Visual Studio Express 2013 for Windows Desktop<http://www.visualstudio.com/en-us/downloads>, a (free) compiler which will actually run on the current version of Windows? That's the Python Idea that I am requesting.

On 27.11.2013 15:03, Vernon D. Cole wrote:
Here's the ISO file for VS 2018 SP1 Express: http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B7... I cannot say whether it runs on Windows 7, but would be surprised if it didn't.
The express versions don't provide some of the optimizations used for the Python binaries shipped on python.org and at least earlier versions also did not allow cross-compiling 64-bit versions (but that may have changed now that 64-bit is becoming the standard). Now instead of requiring that Python itself be compiled using the express versions, perhaps the slightly alternative option of requiring that Python (and C extensions) *can* be compiled using the express version would be a better way forward :-) -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 27 2013)
::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/

On Thu, Nov 28, 2013 at 1:33 AM, M.-A. Lemburg <mal@egenix.com> wrote:
Looks like something that wants to be here: http://docs.python.org/devguide/setup.html#windows ChrisA

On 27 November 2013 14:33, M.-A. Lemburg <mal@egenix.com> wrote:
Here's the ISO file for VS 2018 SP1 Express:
Give Guido his time machine back :-) I presume you meant 2008, as VS 2018 compiles Python direct to machine code, and no longer supports C at all... Paul

On 27.11.2013 15:55, Paul Moore wrote:
:-) -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 27 2013)
::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/

On 27.11.2013 15:33, M.-A. Lemburg wrote:
Looks like the cross compiling is supported, but native the native x64 bit compiler is missing in the 2013 express versions: http://msdn.microsoft.com/en-us/library/hs24szh9%28v=vs.120%29.aspx
-- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 27 2013)
::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/

Vernon D. Cole writes:
Before anyone starts flaming me about "off topic"
It's not off topic, and in fact there's a recent thread on python-dev which touches on this: https://mail.python.org/pipermail/python-dev/2013-November/130421.html (Sorry, a lot of the subthreads are irrelevant. Look for the subthreads with Steve Dower and Martin van Loewis posting to start.)
I cannot compile a Python extension module with any Microsoft compiler I can obtain.
Your pain is understood, but it's not simple to address it. There have been many threads on this over the years. The basic problem is that the ABI changes. Therefore it's going to require a complete new set of *all* C extensions for Windows, and the duplication of download links for all those extensions from quite a few different vendors is likely to confuse a lot of users.

On Wed, Nov 27, 2013 at 5:08 PM, Stephen J. Turnbull <stephen@xemacs.org>wrote:
I compiled a few extensions on VS2010 to work with Python27(2008), with no issues*. Ok there were issues with some manifest stuff but there is a quick workaround for that I guess that for common extensions the ABI problems are not visiable

On 27.11.2013 15:03, Vernon D. Cole wrote:
Here's the ISO file for VS 2018 SP1 Express: http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B7... I cannot say whether it runs on Windows 7, but would be surprised if it didn't.
The express versions don't provide some of the optimizations used for the Python binaries shipped on python.org and at least earlier versions also did not allow cross-compiling 64-bit versions (but that may have changed now that 64-bit is becoming the standard). Now instead of requiring that Python itself be compiled using the express versions, perhaps the slightly alternative option of requiring that Python (and C extensions) *can* be compiled using the express version would be a better way forward :-) -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 27 2013)
::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/

On Thu, Nov 28, 2013 at 1:33 AM, M.-A. Lemburg <mal@egenix.com> wrote:
Looks like something that wants to be here: http://docs.python.org/devguide/setup.html#windows ChrisA

On 27 November 2013 14:33, M.-A. Lemburg <mal@egenix.com> wrote:
Here's the ISO file for VS 2018 SP1 Express:
Give Guido his time machine back :-) I presume you meant 2008, as VS 2018 compiles Python direct to machine code, and no longer supports C at all... Paul

On 27.11.2013 15:55, Paul Moore wrote:
:-) -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 27 2013)
::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/

On 27.11.2013 15:33, M.-A. Lemburg wrote:
Looks like the cross compiling is supported, but native the native x64 bit compiler is missing in the 2013 express versions: http://msdn.microsoft.com/en-us/library/hs24szh9%28v=vs.120%29.aspx
-- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Nov 27 2013)
::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/

Vernon D. Cole writes:
Before anyone starts flaming me about "off topic"
It's not off topic, and in fact there's a recent thread on python-dev which touches on this: https://mail.python.org/pipermail/python-dev/2013-November/130421.html (Sorry, a lot of the subthreads are irrelevant. Look for the subthreads with Steve Dower and Martin van Loewis posting to start.)
I cannot compile a Python extension module with any Microsoft compiler I can obtain.
Your pain is understood, but it's not simple to address it. There have been many threads on this over the years. The basic problem is that the ABI changes. Therefore it's going to require a complete new set of *all* C extensions for Windows, and the duplication of download links for all those extensions from quite a few different vendors is likely to confuse a lot of users.

On Wed, Nov 27, 2013 at 5:08 PM, Stephen J. Turnbull <stephen@xemacs.org>wrote:
I compiled a few extensions on VS2010 to work with Python27(2008), with no issues*. Ok there were issues with some manifest stuff but there is a quick workaround for that I guess that for common extensions the ABI problems are not visiable
participants (6)
-
Chris Angelico
-
M.-A. Lemburg
-
Paul Moore
-
Stephen J. Turnbull
-
Vernon D. Cole
-
yoav glazner