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

ez_setup.py error #146

Closed
ghost opened this issue Feb 8, 2014 · 1 comment
Closed

ez_setup.py error #146

ghost opened this issue Feb 8, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 8, 2014

Originally reported by: Anonymous


C:\Python27>ez_setup.py
Extracting in c:\users\captals\appdata\local\temp\tmp82pvks
Now working in c:\users\captals\appdata\local\temp\tmp82pvks\setuptools-2.2
Installing Setuptools
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    exec(init_file.read(), command_ns)
  File "<string>", line 8, in <module>
  File "c:\users\captals\appdata\local\temp\tmp82pvks\setuptools-2.2\setuptools\
__init__.py", line 11, in <module>
    from setuptools.extension import Extension
  File "c:\users\captals\appdata\local\temp\tmp82pvks\setuptools-2.2\setuptools\
extension.py", line 5, in <module>
    from setuptools.dist import _get_unpatched
  File "c:\users\captals\appdata\local\temp\tmp82pvks\setuptools-2.2\setuptools\
dist.py", line 15, in <module>
    from setuptools.compat import numeric_types, basestring
  File "c:\users\captals\appdata\local\temp\tmp82pvks\setuptools-2.2\setuptools\
compat.py", line 19, in <module>
    from SimpleHTTPServer import SimpleHTTPRequestHandler
  File "C:\Python27\lib\SimpleHTTPServer.py", line 27, in <module>
    class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
  File "C:\Python27\lib\SimpleHTTPServer.py", line 208, in SimpleHTTPRequestHand
ler
    mimetypes.init() # try to read system mime.types
  File "C:\Python27\lib\mimetypes.py", line 358, in init
    db.read_windows_registry()
  File "C:\Python27\lib\mimetypes.py", line 258, in read_windows_registry
    for subkeyname in enum_types(hkcr):
  File "C:\Python27\lib\mimetypes.py", line 249, in enum_types
    ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1: ordinal
not in range(128)
Something went wrong during the installation.
See the error message above.

@ghost
Copy link
Author

ghost commented Feb 8, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Duplicate of #127.

@ghost ghost added critical bug labels Mar 29, 2016
@ghost ghost closed this as completed Mar 29, 2016
@ghost ghost mentioned this issue Mar 29, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants