Q: How to create a virtual environment using Virtualenv?

Python Virtuaenv environment


First create a directory to run virtualenv, for this example. I will use /server directory

mkdir /server

To create the virtual environment run the following command:

virtualenv /server

To activate and start using the virtualenv you created:

source /server/bin/activate

Once you are done using the virtualenv, you can use the command to deactivate the virtualenv


    No comments found for this tutorial, be the first to leave a comment!

Answered by

Last updated on
Aug 12, 2016