Thanks Josh and Clemens. > Try c:\mydevenv (if it's a single user system)
I followed your advice but I got the same error. So I tried to follow the setup described in the book. 1. I downloaded http://pylonsbook.com/virtualenv.py 2. I typed C:\>c:\Python27\python.exe "C:\virtualenv.py" C:\env I got that message : ----------------------------------- Traceback (most recent call last): File "C:\virtualenv.py", line 1230, in <module> main() File "C:\virtualenv.py", line 420, in main unzip_setuptools=options.unzip_setuptools) File "C:\virtualenv.py", line 499, in create_environment home_dir, lib_dir, inc_dir, bin_dir = path_locations(home_dir) File "C:\virtualenv.py", line 521, in path_locations import win32api ImportError: No module named win32api ----------------------------------- So I downloaded the win32api module : http://sourceforge.net/project/showfiles.php?group_id=78018 Then I got the following error : ----------------------------------- C:\>c:\Python27\python.exe "C:\virtualenv.py" C:\env New python executable in C:\env\Scripts\python.exe Traceback (most recent call last): File "C:\env\lib\site.py", line 66, in <module> import os File "C:\env\lib\os.py", line 63, in <module> import ntpath as path File "C:\env\lib\ntpath.py", line 12, in <module> import warnings ImportError: No module named warnings ERROR: The executable C:\env\Scripts\python.exe is not functioning ERROR: It thinks sys.prefix is 'c:\\' (should be 'c:\\env') ERROR: virtualenv is not compatible with this system or executable ----------------------------------- What to do next ? Thanks in advance, Dwayne -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
