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

alex23 wuwei23 at gmail.com
Thu Aug 18 05:08:39 CEST 2011


On Aug 17, 12:23 am, smith jack <thinke... at gmail.com> wrote:
> 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

Although the docs aren't very clear, --relocatable should be run on
_existing_ virtualenvs. Don't think of it as an option for creating an
environment, but rather one for preparing an existing environment for
moving.

More importantly, it _must_ be re-run in order to remain relocatable
after any modules are installed.

But most important of all, from the documentation: "Also this does not
currently work on Windows."







More information about the Python-list mailing list