Usr/local/bin/virtualenvwrapper.sh No Such File Or Directory

Posted By admin On 11/05/19
Usr/local/bin/virtualenvwrapper.sh No Such File Or Directory Rating: 4,5/5 4219 votes

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 WORKONHOME=$HOME/.virtenvs export PROJECTHOME=$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 testenv01 I am getting error: ERROR: virtualenvwrapper could not find virtualenv in your path Don't know what should I do now. From my experience, following the instructions on some sites will land you in problem. Here's how i did it but first the common mistakes: pip install virtualenv pip install virtualenvwrapper export WORKONHOME=/Envs source /usr/local/bin/virtualenvwrapper.sh now that's not gonna work for you especially now with 16.04 comes with virtualenv as one of her packages. Some pitfalls is now trying to uninstall it with: sudo pip uninstall virtualenv when you never installed it with admin rights.

Sqlstate Hy000 2002 No Such File Or Directory

Usr/local/bin/virtualenvwrapper.sh

May 27, 2018 - Bash: /usr/bin/virtualenvwrapper.sh: No such file or directory. Ask Question. Up vote 1 down vote favorite. Also check /etc/bash.bashrc for any. I can't figure out where the shell is trying to run /usr/bin/virtualenvwrapper.sh upon server login. I want virtualenvwrapper permanently uninstalled, not just removed from the shell instance. Examples of such file formats. Profile $ echo 'source /usr/local/bin/virtualenvwrapper.sh. Site-packages directory will not be.

Instead do: pip uninstall virtualenv then now install it with the Ubuntu repo (recommended) using: sudo apt-get install virtualenv sudo apt install virtualenvwrapper virtualwrapper (user friendly wrappers for the functionality of virtualenv) The reason we are also installing is because it offers nice and simple commands to manage your virtual environments. Echo 'source /usr/share/virtualenvwrapper/virtualenvwrapper.sh' /.bashrc Source virtualenvwrapper in.bashrc or open your.bashrc file and add: export WORKONHOME=$HOME/.virtualenvs export PROJECTHOME=$HOME/PyProj source /usr/share/virtualenvwrapper/virtualenvwrapper.sh this will set the location where the virtual environments should live, the location of your development project directories, and the location of the script installed with this package. Now run workon if this is your first time it won't show anything, don't panic. If not, a list of environments, empty, is printed. Run mkvirtualenv temp new environment, temp is created and activated. Then run workon again This time, the temp environment is included. Now have fun.