I have installed virtualenv using pip command:
$ pip install --user virtualenv
and virtualenwrapper
$ pip install --user virtualenvwrapper
everything worked fine:
$ pip show virtualenvwrapper
Name: virtualenvwrapper
Version: 4.3.2
Location: /home/mukesh/.local/lib/python2.7/site-packages
Requires: virtualenv, virtualenv-clone, stevedore
I made two directories ".virtenvs" and "Project-Active". I am doing this by following a blog post. Then I have changed my .bashrc file by adding following lines:
export WORKON_HOME=$HOME/.virtenvs
export PROJECT_HOME=$HOME/Projects-Active
source $HOME/.local/bin/virtualenvwrapper.sh
After saving the changes, I sourced the file to make the changes active:
$ source ~/.bashrc
When I am trying to make a new virtual environment by using following command:
$ mkvirtualenv test_env01
I am getting error:
ERROR: virtualenvwrapper could not find virtualenv in your path
Don't know what should I do now.