Skip to content

msvc9_query_vcvarsall returns unicode strings on Python 2.7 64-bit and regular strings on 32-bit #992

Closed
@cztomczak

Description

@cztomczak

msvc9_query_vcvarsall returns environment dict with keys "lib", "libpath", "include" and "PATH". On Python 2.7 32-bit values of this dict are regular strings, however on Python 2.7 64-bit this dict contains unicode strings. So when I later use this dict to update os.environ it throws an error:

TypeError: environment can only contain string

Not sure if this is a bug or not, if not you can close it. It's not a big deal for me, I already have it fixed in my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions