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

Distutls fails with MSVC++ 2008on Windows Vista 64bit #53470

Closed
ipatrol mannequin opened this issue Jul 11, 2010 · 2 comments
Closed

Distutls fails with MSVC++ 2008on Windows Vista 64bit #53470

ipatrol mannequin opened this issue Jul 11, 2010 · 2 comments
Assignees
Labels
build The build process and cross-build extension-modules C modules in the Modules dir OS-windows stdlib Python modules in the Lib dir

Comments

@ipatrol
Copy link
Mannequin

ipatrol mannequin commented Jul 11, 2010

BPO 9224
Nosy @tarekziade, @skrah, @ipatrol
Superseder
  • bpo-7511: msvc9compiler.py: ValueError when trying to compile with VC Express
  • 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 = 'https://github.com/tarekziade'
    closed_at = <Date 2010-07-11.14:19:12.242>
    created_at = <Date 2010-07-11.13:36:58.589>
    labels = ['extension-modules', 'build', 'library', 'OS-windows']
    title = 'Distutls fails with MSVC++ 2008on Windows Vista 64bit'
    updated_at = <Date 2010-07-11.17:54:49.405>
    user = 'https://github.com/ipatrol'

    bugs.python.org fields:

    activity = <Date 2010-07-11.17:54:49.405>
    actor = 'srid'
    assignee = 'tarek'
    closed = True
    closed_date = <Date 2010-07-11.14:19:12.242>
    closer = 'mark.dickinson'
    components = ['Distutils', 'Extension Modules', 'Windows']
    creation = <Date 2010-07-11.13:36:58.589>
    creator = 'ipatrol'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 9224
    keywords = []
    message_count = 2.0
    messages = ['110008', '110011']
    nosy_count = 4.0
    nosy_names = ['tarek', 'srid', 'skrah', 'ipatrol']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '7511'
    type = 'compile error'
    url = 'https://bugs.python.org/issue9224'
    versions = ['Python 2.6', 'Python 2.7']

    @ipatrol
    Copy link
    Mannequin Author

    ipatrol mannequin commented Jul 11, 2010

    Trying to compile any extension module fails with the following error:

    running install
    running build
    running build_ext
    building 'bsdiff' extension
    Traceback (most recent call last):
      File "setup.py", line 56, in <module>
        ext_modules = [extension])
      File "C:\hp\bin\Python\lib\distutils\core.py", line 152, in setup
        dist.run_commands()
    	[Skipping many levels for brevity]
      File "C:\hp\bin\Python\lib\distutils\msvc9compiler.py", line 469, in compile
        self.initialize()
      File "C:\hp\bin\Python\lib\distutils\msvc9compiler.py", line 379, in initialize
        vc_env = query_vcvarsall(VERSION, plat_spec)
      File "C:\hp\bin\Python\lib\distutils\msvc9compiler.py", line 295, in query_vcvarsall
        raise ValueError(str(list(result.keys())))
    ValueError: [u'path']

    here, \hp\bin is a vista symlink to Python's directory. This is the second version that had this error, with several modules as well.

    It appears to be an issue in msvc9compiler's handling of stdout, will try to patch.

    @ipatrol ipatrol mannequin assigned tarekziade Jul 11, 2010
    @ipatrol ipatrol mannequin added stdlib Python modules in the Lib dir extension-modules C modules in the Modules dir OS-windows build The build process and cross-build labels Jul 11, 2010
    @skrah
    Copy link
    Mannequin

    skrah mannequin commented Jul 11, 2010

    Duplicate of bpo-7511.

    @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 extension-modules C modules in the Modules dir OS-windows stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant