Oh Snap!

Please turnoff your ad blocking mode for viewing your site content

Jane Alam

Web Developer & Designer, Code Analyzer & Bug Fixer

Easiest way to configure and install virtualenv of python

/
/
/
46 Views

It’s a simple way to configure python virtualenv (Virtual Environment) to Linux / MacOS.

First, install virtualenv package. After installing python let’s install virtualenv by writing a single line. Open the terminal and write the code below.

pip install virtualenv

after installing the package of virtualenv let’s configure a couple of commands.

pip install virtualenvwrapper
export WORKON_HOME=~/Envs
mkdir -p $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv env1

Leave a Comment

Your email address will not be published. Required fields are marked *