Installation pandas (speziell openpyxl) unter python 2.7
Verfasst: Montag 9. Juni 2014, 12:08
Hey Leute.
Ich möchte Pandas unter Python 2.7 verwenden.
Nachdem ich es installiert hatte und mit Python (+Numpy) was programmieren und dann starten wollte, kam folgende Fehlermeldung:
Warning (from warnings module):
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\io\excel.py", line 626
.format(openpyxl_compat.start_ver, openpyxl_compat.stop_ver))
UserWarning: Installed openpyxl is not supported at this time. Use >=1.6.1 and <2.0.0.
Traceback (most recent call last):
File "C:\Users\Eric\Studium\Studium\Master\SHK IIRM\PANDAS\pandas_test.py", line 1, in <module>
import pandas as pd
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\__init__.py", line 45, in <module>
from pandas.io.api import *
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\io\api.py", line 15, in <module>
from pandas.io.gbq import read_gbq
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\io\gbq.py", line 10, in <module>
import pkg_resources
ImportError: No module named pkg_resources
Ich soll also ein anderes openpyxl installieren (Versionen von 1.6.1 bis <2.0.0).
Hab jetzt auf der Seite: https://pypi.python.org/pypi/openpyxl/1.6.1 mir die 1.6.1er Version heruntergeladen.
Nur hab ich riesen Probleme mit der Installation. Könnt ihr euch das vielleicht mal anschauen, wie man das macht?
Oder weiß jemand alternativ vielleicht, wie ich an eine Pandasversion für Python 2.7 mit openpyxl Version (1.6.1 bis < 2.0.0) rankomme?
Ich wäre euch super dankbar dafür. Bin im Moment echt ratlos.
Beste Grüße
Ich möchte Pandas unter Python 2.7 verwenden.
Nachdem ich es installiert hatte und mit Python (+Numpy) was programmieren und dann starten wollte, kam folgende Fehlermeldung:
Warning (from warnings module):
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\io\excel.py", line 626
.format(openpyxl_compat.start_ver, openpyxl_compat.stop_ver))
UserWarning: Installed openpyxl is not supported at this time. Use >=1.6.1 and <2.0.0.
Traceback (most recent call last):
File "C:\Users\Eric\Studium\Studium\Master\SHK IIRM\PANDAS\pandas_test.py", line 1, in <module>
import pandas as pd
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\__init__.py", line 45, in <module>
from pandas.io.api import *
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\io\api.py", line 15, in <module>
from pandas.io.gbq import read_gbq
File "C:\Program Files (x86)\Python27\lib\site-packages\pandas\io\gbq.py", line 10, in <module>
import pkg_resources
ImportError: No module named pkg_resources
Ich soll also ein anderes openpyxl installieren (Versionen von 1.6.1 bis <2.0.0).
Hab jetzt auf der Seite: https://pypi.python.org/pypi/openpyxl/1.6.1 mir die 1.6.1er Version heruntergeladen.
Nur hab ich riesen Probleme mit der Installation. Könnt ihr euch das vielleicht mal anschauen, wie man das macht?
Oder weiß jemand alternativ vielleicht, wie ich an eine Pandasversion für Python 2.7 mit openpyxl Version (1.6.1 bis < 2.0.0) rankomme?
Ich wäre euch super dankbar dafür. Bin im Moment echt ratlos.
Beste Grüße