I try to install pandas for Python 3 by executing the following command:
sudo pip3 install pandas
As a result I get this:
Downloading/unpacking pandas Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement pandas Cleaning up... No distributions at all found for pandas
Maybe it is interesting to note that installation for Python 2 works fine.
sudo pip install pandas
Returns the following:
Requirement already satisfied (use --upgrade to upgrade): pandas in /usr/lib/python2.7/dist-packages Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/lib/python2.7/dist-packages (from pandas) Requirement already satisfied (use --upgrade to upgrade): pytz>=2011k in /usr/lib/python2.7/dist-packages (from pandas) Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6.1 in /usr/lib/python2.7/dist-packages (from pandas) Cleaning up...
ADDED
I have just installed pandas in the following way:
sudo apt-get install python3-pandas
The commands in this table will install pandas for Python 3 from your distribution. However, the packages in the linux package managers are often a few versions behind, so to get the newest version of pandas, it's recommended to install using the pip or conda methods described above.
If you are using the latest version of Pandas, you will have pip already installed on your system. Therefore you need not follow from step 1 to 5. For users who don't have the latest version of Python (3.7. 3), they should upgrade it.
pandas is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of the Python programming language.
Try this:
sudo apt-get install python3-pip sudo -H pip3 install pandas
This worked for me, finally:
pip3 install pandas --no-build-isolation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With