easy_install crash with KeyError

Bug #1598575 reported by Saverio Proto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-setuptools (Ubuntu)
New
Undecided
Unassigned

Bug Description

There's a problem in setuptools 24.0.0 (released today).

You can reproduce it just running on the shell easy_install:

# easy_install
Traceback (most recent call last):
  File "/usr/local/bin/easy_install", line 7, in <module>
    from setuptools.command.easy_install import main
  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 14, in <module>
    from setuptools.extension import Extension
  File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 11, in <module>
    from . import msvc
  File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 244, in <module>
    class PlatformInfo:
  File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 253, in PlatformInfo
    current_cpu = safe_env['processor_architecture'].lower()
  File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'processor_architecture'

Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

Fixed in 24.0.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.