What do I have to do to successfully launch virtualenvwrapper.sh? What do I need to put into my .bashrc?
The error message :
/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh: fork: Resource temporarily unavailable
#When I launch the terminal I see it twice, when I launch it manually I see the error message only once.
I want to install Python/Django and followed this manual :
virtualenvwrapper.sh can be found in (not in /usr/local/bin):
/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh
The virtualenvwrapper folder can be found in:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenvwrapper
My .bashrc I edited as followed:
export PYTHONPATH=$PYTHONPATH/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh
export WORKON_HOME=$HOME/.virtualenvs
source /Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh
After studying related posts I tried:
Thank you for your help in advance!
I think this:
export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh
Should be something like (for me it is python3, but I see you are using python2):
export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.