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

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

On Aug 17, 12:23 am, smith jack <thinke... at> wrote:
> The environment doesn't have a file f:\PythonEnv\djangoEnv2\Scripts\activate_thi
> -- 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

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