installiert ich openpyxl
mitKein Modul namens 'openpyxl' - Python 3.4 - Ubuntu
$ pip install openpyxl
wenn ich den Befehl versuchen
from openpyxl import Workbook
I
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from openpyxl import Workbook
ImportError: No module named 'openpyxl'
bekomme ich Python bin mit 3.4 und Ubuntu 14.04, 32-Bit-Betriebssystemtyp
Sie installieren es für 'python2', verwenden Sie' pip3 install openpyxl'. – Zety
In Ubuntu sind sowohl Python 2.x als auch 3.x installiert. Das Standardschlüsselwort 'python' verweist auf Python 2.x. Um Python 3 zu verwenden, müssen Sie 'python3' und' pip3' verwenden, wie von @zetysz angegeben. –