Ubuntu – easy_install: command not found


I am trying to install MYCROFT on Ubuntu 18.04 following this: LINK

cd ~/
git clone https://github.com/MycroftAI/mycroft-core.git
cd mycroft-core
bash dev_setup.sh

I am getting this error:

sudo: easy_install: command not found

This error is because the script dev_setup.sh line 168 is trying to execute:

easy_install pip==9.0.1 # force version of pip

I have installed:

sudo apt-get install python-setuptools
sudo apt-get install python-pip python-dev build-essential

However the


command is still not recognised. Any ideas?


By commenting out that line in the script allows the script to run. However there is a module error, voice recognition module missing, when doing an audio test.

Best Answer

On Ubuntu 18.04 I was able to pip install python-setuptools and run easy_install by full-path'ing it:

python /usr/lib/python2.7/dist-packages/easy_install.py pip

I prefer this over installing the python-pip system package because pip is moving faster than the distros update it, so I install it from PyPI.


Related Question