Getting error while trying to install ez_install, a 64-bit Windows 7 machine with fresh Python 2.7. Any ideas?
Installing Setuptools
Traceback (most recent call last):
File "setup.py", line 17, in
exec (init_file.read (), command_ns)
File "", line 8, in
File "c: \ users \ namar \ appdata \ local \ temp \ tmp1tanvy \ setuptools-2.1 \ setuptools \ __
init__.py ", line 11, in
from setuptools.extension import Extension
File "c: \ users \ namar \ appdata \ local \ temp \ tmp1tanvy \ setuptools-2.1 \ setuptools \ ex
tension.py ", line 5, in
from setuptools.dist import _get_unpatched
File "c: \ users \ namar \ appdata \ local \ temp \ tmp1tanvy \ setuptools-2.1 \ setuptools \ di
st.py ", line 15, in
from setuptools.compat import numeric_types, basestring
File "c: \ users \ namar \ appdata \ local \ temp \ tmp1tanvy \ setuptools-2.1 \ setuptools \ co
mpat.py ", line 19, in
from SimpleHTTPServer import SimpleHTTPRequestHandler
File "c: \ python27 \ lib \ SimpleHTTPServer.py", line 27, in
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 0xae in position 11: ordinal
not in range (128)
Something went wrong during the installation.
See the error message above.
C: \ Users \ namar \ Downloads> cd \
C: \> cd Python27
source
share