Pandas und Python ist3.4 co-Existenz mit Python 2.7

Ich habe pandas installiert mit python2.7. Ich habe auch python 3.4 installiert.

Kann ich nicht laden pandas in Python ist3

Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 00:54:21) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'pandas'
>>> 

Ich verstehe muss ich es separat installieren. Wie gehe ich mit den pandas in beiden python 2.7 und 3.4 ? Ich bin mit einem mac übrigens.

  • Ich nehme an, Sie installiert pandas mit pip. Verwenden Sie die pip für python 3.4 wenn Sie installieren möchten pandas für python 3.4
  • Ja, habe ich installiert pandas mit pip. Wie nutze ich pip für python 3.4 ?
  • Wie haben Sie pip das erste mal? Sie haben python ezsetup.py install, vermutlich. Gut, sicherzustellen, dass python in diesem Fall Punkte zu python 3.4. Wenn Sie planen, Schalter python-Versionen Häufig, ich würde empfehlen die Installation pyenv zu helfen, Versionen verwalten
InformationsquelleAutor Vinay Joseph | 2014-08-07
Schreibe einen Kommentar