-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different (wrong?) MSVC version found in 46.0 #2019
Comments
#2018 seems to be the same problem (don't have issue with 64bit python, and setuptools 45.2 works like a charm on 32 and 64bit) |
Not the same issue as #2018, msvc not found, whereas here, msvc is found but version has changed. Same root cause for the issues #1904 setuptools does not set the The behavior in setuptools is now consistent across CPython 3.5, 3.6, 3.7 & 3.8 and uses the most recent supported toolchain: the only "spec" and expectations I had when drafting #1904 was https://wiki.python.org/moin/WindowsCompilers Is the library being linked in also uses The other workaround I can think about is to run from within a VC2015 command prompt and setting |
By my quick research, Alternately, sspasweden, you have other options. You could rely on |
Hi,
Upgrading from setuptools 45.2 to 46 I am having problem with it finding different versions of the msvc compiler. I am on Win10 with 32bit python 3.5.4.
Using setuptools 45.2, the following compiler path is used:
Using setuptools 46, the following compiler path is used:
The latter ends up with the following error:
whereas the former works (and have worked for several years). The lib that is being linked is built with the msvc 14.0 compiler.
This seems to be related to #1904 . Is this change of behavior according to expectations?
It seems that even though the range of msvc 14.x compilers should be binary compatible, there are exceptions: https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019
The /GL flag restriction is probably what goes south here as it seems that setuptools enables this one by default?
A workaround (even though it is not very sustainable) is obviously to avoid updating setuptools.
The text was updated successfully, but these errors were encountered: