I've tried to run virtualenvwrapper on mac (high sierra 10.13.4) but got this error:
-bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory
I have installed with pip following the docs but nothing seems to work :/
And the curious thing is that the file virtualenvwrapper.sh
exists in the mentioned directory:
lem4fia@MBP-de-Bruno ~ $ ls /usr/local/bin
I have trid to uninstall and re-install virtualenvwrapper but the same issue still happens.
Anyone got a solution?
Location of Environments The variable WORKON_HOME tells virtualenvwrapper where to place your virtual environments. The default is $HOME/. virtualenvs . If the directory does not exist when virtualenvwrapper is loaded, it will be created automatically.
Ok i've fixed this issue by doing this:
pip uninstall virtualenvwrapper
the uninstall will ask if i want to proceed, but the first line shows the correct path to virtualenvwrapper.sh
since the location changes from OS to OS and version to version, i've copied the path and answered no to keep virtualenvwrapper installed, and then pasted the correct path to .bash_profile
.
After this i've got an error saying that virtualenvwrapper could not find the virtualenv, but fixed it by uninstalling and installing again the virtualenv with pip.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With