-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/bin/python: No module named virtualenvwrapper #80
Comments
I was running into the same issues and so I just installed anaconda and used conda's virtual environment to compensate. I had spent 3 hours on both virtualenv and virtualwrapper to no avail. Something is happening with PATH and even after I change it in my .zshrc and source the window, I still get the same problem(on mac). My suggestion until its addressed is conda just so you aren't messing with your system python. I know there are alot of people that feel that it's a "noob" move to use conda, but I am not too proud to admit I don't know how to fix something. |
This editing of my .bashrc solved this issue to me (note, I am using python3 (which is a symbolic link to python3.6 in my system) in VIRTUALENVWRAPPER_PYTHON - with /usr/bin/python (earlier python version) throws the error above also for me). if [ -f ~/.local/bin/virtualenvwrapper.sh ] ; then |
baccione, thank you. |
this did not work |
Remove the space in "export VIRTUALENVWRAPPER_VIRTUALENV=~ /.local/bin/virtualenv". |
I had the same issue. The following worked for me:
Hope it helps. |
When I open the terminal, it will always show the following error message:
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.
-bash: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
-bash: complete: -D: invalid option
complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F function] [-C command] [name ...]
-bash: /Users/zjh/.venvburrito/bin/virtualenvwrapper.sh: No such file or directory
/usr/bin/python: No module named virtualenvwrapper
virtualenvwrapper.sh: There was a problem running the initialization hooks.
The post on StackOverflow doesn't help. Could you please help me solve this problem? Thanks!
The text was updated successfully, but these errors were encountered: