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

Mismatch between Python 3.3 build environment and distutils compiler support #61573

Closed
mayaa mannequin opened this issue Mar 7, 2013 · 4 comments
Closed

Mismatch between Python 3.3 build environment and distutils compiler support #61573

mayaa mannequin opened this issue Mar 7, 2013 · 4 comments
Labels
build The build process and cross-build OS-windows

Comments

@mayaa
Copy link
Mannequin

mayaa mannequin commented Mar 7, 2013

BPO 17371
Nosy @loewis, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-07-31.12:46:37.841>
created_at = <Date 2013-03-07.03:06:46.889>
labels = ['build', 'invalid', 'OS-windows']
title = 'Mismatch between Python 3.3 build environment and distutils compiler support'
updated_at = <Date 2014-07-31.12:46:37.840>
user = 'https://bugs.python.org/mayaa'

bugs.python.org fields:

activity = <Date 2014-07-31.12:46:37.840>
actor = 'loewis'
assignee = 'none'
closed = True
closed_date = <Date 2014-07-31.12:46:37.841>
closer = 'loewis'
components = ['Windows']
creation = <Date 2013-03-07.03:06:46.889>
creator = 'mayaa'
dependencies = []
files = []
hgrepos = []
issue_num = 17371
keywords = []
message_count = 4.0
messages = ['183629', '183633', '224343', '224401']
nosy_count = 4.0
nosy_names = ['loewis', 'BreamoreBoy', 'steve.dower', 'mayaa']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue17371'
versions = ['Python 3.3']

@mayaa
Copy link
Mannequin Author

mayaa mannequin commented Mar 7, 2013

My python environment is Python3.3 in Windows 7 32-bit. I was installing Pandas package from source code, through Microsoft Visual C++ 2008 Express is installed in my computer, the installation process still failed and report a "Unable to find vcvarsall.bat" error.
I checked the problem reading the distutils.msvc9compiler.py module. Class method find_vcvarsall() and query_vcvarall() works well, but get_build_version() return the 10.0. There is no mistakes about this, for sys.version print (MSC v. 1600) vs. in latest Python 2.7 it's (MSC v. 1500) which means vc2008. All document I found pointed that Python Windows binary was built through VC 2008 (version 9.0), and there is only msvc9compiler.py module, no msvc10compiler.py module.
I don't know whether this is a bug, or there is another compatible mechanics I don't know.
After all, I just want to build Pandas correctly.

@mayaa mayaa mannequin added OS-windows build The build process and cross-build labels Mar 7, 2013
@mayaa
Copy link
Mannequin Author

mayaa mannequin commented Mar 7, 2013

My python environment is Python3.3 in Windows 7 32-bit. I was installing Pandas package from source code, through Microsoft Visual C++ 2008 Express is installed in my computer, the installation process still failed and report a "Unable to find vcvarsall.bat" error.
I checked the problem reading the distutils.msvc9compiler.py module. Class method find_vcvarsall() and query_vcvarall() works well, but get_build_version() return the 10.0. There is no mistakes about this, for sys.version print (MSC v. 1600) vs. in latest Python 2.7 it's (MSC v. 1500) which means vc2008. All document I found pointed that Python Windows binary was built through VC 2008 (version 9.0), and there is only msvc9compiler.py module, no msvc10compiler.py module.
I don't know whether this is a bug, or there is another compatible mechanics I don't know.
After all, I just want to build Pandas correctly.

In addition, I've installed Visual C++ 2010 Express to install Pandas successfully.

@BreamoreBoy
Copy link
Mannequin

BreamoreBoy mannequin commented Jul 30, 2014

According to http://matthew-brett.github.io/pydagogue/python_msvc.html Python 3.3 has always been compiled with 2010 on Windows so I think this can be closed as "user sorted it out for him/herself" :)

@loewis
Copy link
Mannequin

loewis mannequin commented Jul 31, 2014

Installing VS 2010 express was indeed the right solution.

@loewis loewis mannequin closed this as completed Jul 31, 2014
@loewis loewis mannequin added the invalid label Jul 31, 2014
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-windows
Projects
None yet
Development

No branches or pull requests

0 participants