No module named openpyxl – Python 3.4 – Ubuntu
No module named openpyxl – Python 3.4 – Ubuntu
@zetysz and @Manish already fixed the problem. I am just putting this in an answer for future reference:
pip
refers to Python 2 as a default in Ubuntu, this means thatpip install x
will install the module for Python 2 and not for 3pip3
refers to Python 3, it will install the module for Python 3
If you dont use conda, just use :
pip install openpyxl
If you use conda, Id recommend :
conda install -c anaconda openpyxl
instead of simply conda install openpyxl
Because there are issues right now with conda updating (see GitHub Issue #8842) ; this is being fixed and it should work again after the next release (conda 4.7.6)
No module named openpyxl – Python 3.4 – Ubuntu
In order to keep track of dependency issues, I like to use the conda installer, which simply boils down to:
conda install openpyxl