Maybe follow link at end of error message which suggests you reinstall
python "For all users".
Clemens Herschel
On 3/30/2011 10:00 AM, Dwayne Blind wrote:
Here is what I get with the -v option :
C:\>c:\Python27\python.exe go-pylons.py -v mydevenv
Creating mydevenv
Creating mydevenv\Lib
Copying Python bootstrap modules
Copying to mydevenv\Lib\abc.py
Copying to mydevenv\Lib\abc.pyc
Copying to mydevenv\Lib\abc.pyo
Copying to mydevenv\Lib\codecs.py
Copying to mydevenv\Lib\codecs.pyc
Copying to mydevenv\Lib\codecs.pyo
Copying to mydevenv\Lib\copy_reg.py
Copying to mydevenv\Lib\copy_reg.pyc
Copying to mydevenv\Lib\copy_reg.pyo
Copying to mydevenv\Lib\encodings
Copying to mydevenv\Lib\fnmatch.py
Copying to mydevenv\Lib\fnmatch.pyc
Copying to mydevenv\Lib\genericpath.py
Copying to mydevenv\Lib\genericpath.pyc
Copying to mydevenv\Lib\genericpath.pyo
Copying to mydevenv\Lib\linecache.py
Copying to mydevenv\Lib\linecache.pyc
Copying to mydevenv\Lib\linecache.pyo
Copying to mydevenv\Lib\locale.py
Copying to mydevenv\Lib\locale.pyc
Copying to mydevenv\Lib\locale.pyo
Copying to mydevenv\Lib\ntpath.py
Copying to mydevenv\Lib\ntpath.pyc
Copying to mydevenv\Lib\ntpath.pyo
Copying to mydevenv\Lib\os.py
Copying to mydevenv\Lib\os.pyc
Copying to mydevenv\Lib\os.pyo
Copying to mydevenv\Lib\posixpath.py
Copying to mydevenv\Lib\posixpath.pyc
Copying to mydevenv\Lib\re.py
Copying to mydevenv\Lib\re.pyc
Copying to mydevenv\Lib\re.pyo
Copying to mydevenv\Lib\sre.py
Copying to mydevenv\Lib\sre_compile.py
Copying to mydevenv\Lib\sre_compile.pyc
Copying to mydevenv\Lib\sre_compile.pyo
Copying to mydevenv\Lib\sre_constants.py
Copying to mydevenv\Lib\sre_constants.pyc
Copying to mydevenv\Lib\sre_constants.pyo
Copying to mydevenv\Lib\sre_parse.py
Copying to mydevenv\Lib\sre_parse.pyc
Copying to mydevenv\Lib\sre_parse.pyo
Copying to mydevenv\Lib\stat.py
Copying to mydevenv\Lib\stat.pyc
Copying to mydevenv\Lib\stat.pyo
Copying to mydevenv\Lib\types.py
Copying to mydevenv\Lib\types.pyc
Copying to mydevenv\Lib\types.pyo
Copying to mydevenv\Lib\UserDict.py
Copying to mydevenv\Lib\UserDict.pyc
Copying to mydevenv\Lib\UserDict.pyo
Copying to mydevenv\Lib\warnings.py
Copying to mydevenv\Lib\warnings.pyc
Copying to mydevenv\Lib\warnings.pyo
Copying to mydevenv\Lib\_abcoll.py
Copying to mydevenv\Lib\_abcoll.pyc
Copying to mydevenv\Lib\_abcoll.pyo
Copying Python bootstrap modules
Creating mydevenv\Lib\site-packages
Writing mydevenv\Lib\site.py
Writing mydevenv\Lib\orig-prefix.txt
Creating mydevenv\Scripts
New python executable in mydevenv\Scripts\python.exe
Changed mode of mydevenv\Scripts\python.exe to 0777
Also created pythonw.exe
Testing executable with mydevenv\Scripts\python.exe -c "import sys;
print sys.pr
efix"
Traceback (most recent call last):
File "c:\Python27\mydevenv\lib\site.py", line 67, in<module>
import os
File "c:\Python27\mydevenv\lib\os.py", line 398, in<module>
import UserDict
File "c:\Python27\mydevenv\lib\UserDict.py", line 83, in<module>
import _abcoll
File "c:\Python27\mydevenv\lib\_abcoll.py", line 11, in<module>
from abc import ABCMeta, abstractmethod
File "c:\Python27\mydevenv\lib\abc.py", line 8, in<module>
from _weakrefset import WeakSet
ImportError: No module named _weakrefset
ERROR: The executable mydevenv\Scripts\python.exe is not functioning
ERROR: It thinks sys.prefix is 'c:\\' (should be 'c:\\mydevenv')
ERROR: virtualenv is not compatible with this system or executable
Note: some Windows users have reported this error when they installed
Python for
"Only this user". The problem may be resolvable if you install
Python "For all
users". (See https://bugs.launchpad.net/virtualenv/+bug/352844)
--
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.