Skip to content
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

v46.0: cannot find MSVC on 32 bits python #2018

Open
EccoTheFlintstone opened this issue Mar 9, 2020 · 2 comments
Open

v46.0: cannot find MSVC on 32 bits python #2018

EccoTheFlintstone opened this issue Mar 9, 2020 · 2 comments

Comments

@EccoTheFlintstone
Copy link

on a 32 bits win7 with python 3.6 32 bits and MSVC 2017, setuptools v 46.0 cannot find MSVC:

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

It worked OK with setuptools 45.2 (did not test with 45.3), and 46.0 is working with python 64 bits on a 64 bits machine.

@pganssle
Copy link
Member

pganssle commented Mar 13, 2020

CC @jaraco @zooba @mayeut @JGoutin

@mayeut
Copy link
Member

mayeut commented Mar 14, 2020

linking related issues:
Update docs for required compilers for Windows
setuptools fails to build a windows python 3.5 C extension on GitHub Actions (msvc)

PR included in 46.0 (I drafted that following a comment by @zooba in the first linked issue):
Use CPython 3.8.0 mechanism to find msvc 14+

I probably missed something but I don't see what...

I only have CI at my disposal to test and it's working with all major CI providers as part of cibuildwheel tests (where CPython 2.7, 3.5, 3.6, 3.7 & 3.8, both 32-bit and 64-bit) and I added some tests here in setuptools.
Unfortunately, I can't reproduce the specific environment so unable to reproduce the issue.

@EccoTheFlintstone, could you please check if you're seeing a similar issue with CPython 3.8 32-bit (once using setuptools, once only using distutils). If you don't have a similar issue with cp38-distutils only, then I definitely missed something in the backport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants