I wrote a Bash script which automates the installation of an application based on ERPNext 3.6.1* on my Ubuntu 14.04 LTS laptop.
Part of the script installs required dependencies using
apt-get install, which include
easy_install. The script worked fine a couple days ago, but now when I try to run it, this step fails with the following error messages from
apt-get in the terminal:
Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package easy_install E: Unable to locate package pip
I cannot find these packages in the Ubuntu Software Center either, although I do still have the commands installed on my system (see below) and a search for either in the Ubuntu Software Center returns the installed package
python-pip as the first result.
I also ran the following to try and figure out which package owns the installed commands:
christopher@SkyTemple:~$ whereis easy_install easy_install: /usr/local/bin/easy_install christopher@SkyTemple:~$ dpkg -S /usr/local/bin/easy_install dpkg-query: no path found matching pattern /usr/local/bin/easy_install christopher@SkyTemple:~$ whereis pip pip: /usr/bin/pip /usr/bin/X11/pip /usr/local/bin/pip /usr/local/bin/pip2.7 /usr/share/man/man1/pip.1.gz christopher@SkyTemple:~$ dpkg -S /usr/bin/pip python-pip: /usr/bin/pip
easy_install recently roll into
python-pip? Or are they altogether gone now? I need to know how I should update my script, if needed.
* Out of date, I know, but this is what my employer has supplied from our contractor, so I need to work with it.