user3283997
user3283997

Reputation:

pip command not found

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?

Upvotes: 1

Views: 11155

Answers (3)

Sobhanessi
Sobhanessi

Reputation: 35

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

Upvotes: 1

N.Lee
N.Lee

Reputation: 1036

Try this

pip3 install virtualenv

Upvotes: 1

Midnighter
Midnighter

Reputation: 3881

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.

Upvotes: 2

Related Questions