virtualenv problem

alex23 wuwei23 at gmail.com
Thu Jul 25 20:47:07 EDT 2013


On 25/07/2013 11:48 PM, D. Xenakis wrote:
> I think there is something wrong with the installation because when i run through idle the virtual-env scripts located in "C:\Python33\Scripts" then i get the following..

virtualenv is intended to be a command line tool, so running it through 
idle is your first problem :)

> You must provide a DEST_DIR
> Usage: virtualenv-3.3-script.py [OPTIONS] DEST_DIR

The error you're receiving seems pretty explicit.

Generally, you would go to, say, a projects folder and type at the 
command line:

     C:\Projects> virtualenv my-new-project
     C:\Projects> cd my-new-project
     C:\Projects\my-new-project> Scripts\activate.bat

This will create & enable your virtualenv sandbox.

For more info see:

http://www.virtualenv.org/en/latest/#usage



More information about the Python-list mailing list