Failed to create virtual environment when using --relocatable option, what's wrong?
smith jack
thinke365 at gmail.com
Tue Aug 16 10:23:46 EDT 2011
all things works well without --relocatable option, the error info
when using --relocatable option is as follows :
F:\PythonEnv\djangoEnv>virtualenv f:\PythonEnv\djangoEnv2 --relocatable
PYTHONHOME is set. You *must* activate the virtualenv before using it
The environment doesn't have a file f:\PythonEnv\djangoEnv2\Scripts\activate_thi
s.py -- please re-run virtualenv on this environment to update it
Traceback (most recent call last):
File "E:\Tools\gov\tools\chrome_python\Scripts\virtualenv-script.py", line 7,
in ?
sys.exit(
File "e:\tools\gov\tools\chrome_python\lib\site-packages\virtualenv-1.6.4-py2.
4.egg\virtualenv.py", line 802, in main
make_environment_relocatable(home_dir)
File "e:\tools\gov\tools\chrome_python\lib\site-packages\virtualenv-1.6.4-py2.
4.egg\virtualenv.py", line 1338, in make_environment_relocatable
fixup_scripts(home_dir)
File "e:\tools\gov\tools\chrome_python\lib\site-packages\virtualenv-1.6.4-py2.
4.egg\virtualenv.py", line 1357, in fixup_scripts
for filename in os.listdir(bin_dir):
WindowsError: [Errno 3] : 'f:\\PythonEnv\\djangoEnv2\\Scripts/*.*'
More information about the Python-list
mailing list