Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11555

Failed to create virtual environment when using --relocatable option, what's wrong?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <thinke365@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:using': 0.04; 'option,': 0.07; 'subject:when': 0.07; 'filename': 0.09; 'skip:" 60': 0.09; 'subject:create': 0.09; 'subject:virtual': 0.09; 'skip:f 30': 0.13; '*must*': 0.16; '[errno': 0.16; 're-run': 0.16; 'subject:wrong': 0.16; 'skip:m 30': 0.19; '(most': 0.21; "doesn't": 0.22; "skip:' 40": 0.23; 'traceback': 0.24; 'message- id:@mail.gmail.com': 0.29; 'environment': 0.29; 'subject:?': 0.31; 'error': 0.32; 'to:addr:python-list': 0.33; 'things': 0.34; 'last):': 0.34; 'set.': 0.34; 'file': 0.36; 'using': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'skip:o 20': 0.38; 'option': 0.39; 'skip:- 10': 0.39; 'to:addr:python.org': 0.39
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=2bzGFvixAZiAS2CD3rtx3TnyBxUtSWt9a97C54yvAL0=; b=DY96dV7MAoRlnkWis1nDiO9ymJjf2wv8A07Zl4iyRA2xcLPswqicID5dREsnc5wapH qmiA2ufzi5VTeoFtju/PQmEIg7pVk7078NvKZUepCjoHzFn/bVlTvttby+G7sJOHlfut DzO4hKmIBv5GYdV6cTjllef2f5XgGK7LUoJ1Q=
MIME-Version 1.0
Date Tue, 16 Aug 2011 22:23:46 +0800
Subject Failed to create virtual environment when using --relocatable option, what's wrong?
From smith jack <thinke365@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.63.1313504629.27778.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1313504629 news.xs4all.nl 23942 [2001:888:2000:d::a6]:45218
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:11555

Show key headers only | View raw


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/*.*'

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Failed to create virtual environment when using --relocatable option,  what's wrong? smith jack <thinke365@gmail.com> - 2011-08-16 22:23 +0800
  Re: Failed to create virtual environment when using --relocatable option, what's wrong? alex23 <wuwei23@gmail.com> - 2011-08-17 20:08 -0700

csiph-web