I'm fairly new to python. I'm using Ubuntu 14.04 and have both python 2.7.6 and python 3.4.0 installed. I was trying to install BeautifulSoup but couldn't because I get an error saying
The program 'pip' is currently not installed.
I found that it comes bundles with python 3.4. I tried to install pip using sudo easy_install pip
as mentioned in another question on stackoverflow. But this gives an error sudo: easy_install: command not found
.
What is the problem?
pip
appears to have turned into python -m pip
(in your case, python3 -m pip
, as Ubuntu's keeping the 2.x line available as python
) in Python 3.4.
easy_install
for Python 2.7 comes as part of the python-setuptools
package. Once installed, running easy_install pip
would install pip for your Python 2.7 installation's use.