Glam Prestige Journal

Bright entertainment trends with youth appeal.

I am running Ubuntu 14.04 LTS. To install the Python pandas library, I ran

sudo apt-get install python-pandas

The output was as follows:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pandas

Why 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:

Imgur

Then execute:

sudo apt-get install python-pandas

You may use Ubuntu Software Center instead:

Imgur

1

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy