2016-08-04 60 views
5

Ich versuche 3 Pandas für Python zu installieren, indem Sie den folgenden Befehl ausführen:Wie installiert man Pandas für Python 3?

sudo pip3 install pandas 

Als Folge ich diese:

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 

Vielleicht interessant ist es, dass die Installation zu beachten, für Python 2 funktioniert gut .

sudo pip install pandas 

Gibt die folgenden:

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

Ich habe gerade installiert Pandas in folgender Weise:

sudo apt-get install python3-pandas 
+0

Was passiert, wenn Sie 'sudo python3 -m pip installieren Pandas 'versuchen? Ich finde 'pip3' manchmal lustig. – DeepSpace

+0

Ich habe 'pip3' über' brew' installiert und 'pip3 install pandas' funktioniert wie ein Zauber. Ihr Problem hängt wahrscheinlich davon ab, welche Distribution Sie verwenden? –

Antwort

2

versuchen Sie dies:

sudo apt- Installiere python3-pip

sudo -H pip3 install pandas