I've followed the instructions for a Windows XP SP3 installation 
at 
http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html#installing-pyramid-on-a-windows-system.
 
I goth through step 4 with no problems. On Step 5:

*5. Use that Python’s virtualenv to make a workspace:*

*c:\> c:\Python27\Scripts\virtualenv --no-site-packages env*

I get the error trace below. Thus far I have uninstalled everything back to 
Python 2.7 itself and reinstalled, with the same results. I spent a small 
amount of time trying to identify the problem, but before I re-invent the 
wheel any tips on what to look for would be greatly appreciated.


C:\>c:\Python27\Scripts\virtualenv --no-site-packages env
New python executable in env\Scripts\python.exe
Installing Setuptools..........................
  Complete output from command C:\env\Scripts\python.exe setup.py install 
--sing
le-version-externally-managed --record record:
  Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    exec(init_file.read(), command_ns)
  File "<string>", line 8, in <module>
  File 
"c:\docume~1\admini~1\locals~1\temp\tmpim5kes\setuptools-0.9.8\setuptools
\__init__.py", line 2, in <module>
    from setuptools.extension import Extension, Library
  File 
"c:\docume~1\admini~1\locals~1\temp\tmpim5kes\setuptools-0.9.8\setuptools
\extension.py", line 5, in <module>
    from setuptools.dist import _get_unpatched
  File 
"c:\docume~1\admini~1\locals~1\temp\tmpim5kes\setuptools-0.9.8\setuptools
\dist.py", line 10, in <module>
    from setuptools.compat import numeric_types, basestring
  File 
"c:\docume~1\admini~1\locals~1\temp\tmpim5kes\setuptools-0.9.8\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 0xe6 in position 3: 
ordinal
not in range(128)
----------------------------------------
...Installing Setuptools...done.
Traceback (most recent call last):
  File "c:\Python27\Scripts\virtualenv-script.py", line 8, in <module>
    load_entry_point('virtualenv==1.10.1', 'console_scripts', 
'virtualenv')()
  File 
"c:\Python27\lib\site-packages\virtualenv-1.10.1-py2.7.egg\virtualenv.py"
, line 821, in main
    symlink=options.symlink)
  File 
"c:\Python27\lib\site-packages\virtualenv-1.10.1-py2.7.egg\virtualenv.py"
, line 961, in create_environment
    install_sdist('Setuptools', 'setuptools-*.tar.gz', py_executable, 
search_dir
s)
  File 
"c:\Python27\lib\site-packages\virtualenv-1.10.1-py2.7.egg\virtualenv.py"
, line 932, in install_sdist
    filter_stdout=filter_install_output)
  File 
"c:\Python27\lib\site-packages\virtualenv-1.10.1-py2.7.egg\virtualenv.py"
, line 899, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command C:\env\Scripts\python.exe setup.py install 
--single-version-ext
ernally-managed --record record failed with error code 1

C:\>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to