We Are Going To Discuss About No module named ‘openpyxl’ – Python 3.4 – Ubuntu. So lets Start this Python Article.
No module named ‘openpyxl’ – Python 3.4 – Ubuntu
If you don’t use conda, just use :pip install openpyxl
If you use conda, I’d 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)
If you don’t use conda, just use :pip install openpyxl
If you use conda, I’d 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)
Solution 1
If you don’t use conda, just use :
pip install openpyxl
If you use conda, I’d 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)
Original Author ToddEmon Of This Content
Solution 2
@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 3 -
pip3
refers to Python 3, it will install the module for Python 3
Original Author Caridorc Of This Content
Solution 3
In order to keep track of dependency issues, I like to use the conda installer, which simply boils down to:
conda install openpyxl
Original Author Archie Of This Content
Solution 4
You have to install it explixitly using the python package manager as
- pip install openpyxl for Python 2
- pip3 install openpyxl for Python 3
Original Author utkarshh12 Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.