-Bash: /Usr/Bin/Virtualenvwrapper.Sh: No Such File or Directory

-bash: /usr/bin/virtualenvwrapper.sh: No such file or directory

There are a number of files that might be run when you login to your terminal if you are using the bash shell.

You should check ~/.bashrc, ~/.bash_profile, ~/.bash_login and ~/.profile for "/usr/bin/virtualenvwrapper.sh".

Likely one of those files is being run on login and contains the missing script which you uninstalled.

-bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory #10

Without sudo or any other way to raise privileges you don't have write access to /usr/local/bin/ so you cannot install virtualenvwrapper.sh there. Download a distribution, extract it and copy virtualenvwrapper.sh to a directory where you have write access. Edit your .bashrc to source virtualenvwrapper.sh from that directory.

Where is virtualenvwrapper.sh after pip install?

You can use the find command to search for a file:

find / -name virtualenvwrapper.sh

This will search all directories from the root for the file.


on ubuntu 12.04 LTS, installing through pip, it is installed to

/usr/local/bin/virtualenvwrapper.sh


on ubuntu 17.04, installing through pip as a normal user, it is installed to

~/.local/bin/virtualenvwrapper.sh

Virtualenv returning a 'No such file or directory...' error

virtualenv looks to be trying to install pip using easy_install from a local archive. Can you verify that it exists at /usr/local/lib/pytho...pport/pip-1.1.tar.gz ?

You may want to ensure that you have pip properly install beforehand. Try: easy_install -U pip first.



Related Topics



Leave a reply



Submit