I am running Ubuntu 14.04 LTS. To install the Python pandas library, I ran
sudo apt-get install python-pandasThe output was as follows:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pandasWhy can the package not be located?
2 Answers
Enable universe repository by executing:
sudo add-apt-repository universe
sudo apt-get update
Or by using the Software & Updates application:
Then execute:
sudo apt-get install python-pandas
You may use Ubuntu Software Center instead:
Starting from Ubuntu 16.04, the python3 package version is available with the name python3-pandas.
You can use sudo apt-get install python3-pandas to install it.
Reference: python3-pandas in packages.ubuntu.com
1