In installed Python 3.4 using Homebrew on my Mac OSX Mavericks
When I do which python3, I get
/usr/local/bin/python3
On checking which python I get
/usr/bin/python
which is the system installed version of Python
I intend to install virtualenv and thus ran pip install virtualenv But I get
-bash: pip: command not found
What am I missing?
3 Answers 3
I suggest making a system installation of pip, virtualenv and virtualenvwrapper. Since pip is not found, run sudo easy_install pip to get it. I would then set up your .bashrc or .bash_profile to activate the virtualenvwrapper.sh automatically.
2 Comments
which pip3?Try this
pip3 install virtualenv
Comments
I've had this problem since I found out that I need to reinstall pip in my env again. try this in your env:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
then
python get-pip.py
pip3.4orpip3found?