All Courses

ModuleNotFoundError: No module named 'openpyxl',Not able to access excel file

By Sde221876@gmail.com, 3 months ago
  • Bookmark
0

ModuleNotFoundError: No module named 'openpyxl',Not able to access excel file and also not able save in excel file in vs code

Python
Modulenotfounderror
Excel file
2 Answers
0
Hitendradixit18@gmail.com

install openpyxl ,through pip

0
Goutamp777

ModuleNotFoundError: No module named 'openpyxl' error occurs when the openpyxl library is not installed on your system. To fix this issue, you can install the openpyxl library by running the following command in your command line or terminal:

pip install openpyxl

If you are using a version of Python older than 3.4, you will need to use the pip3 command instead of pip.

pip3 install openpyxl

It is also required that you have lxml package should also be install in your machine or system before installing openpyxl.

You can also use

!pip install openpyxl

if you are running on Jupyter notebook or similar environments.

Once you have installed the openpyxl library, you should be able to access and save Excel files without any issues.

Your Answer

Webinars

Live Masterclass on : "How Machine Get Trained in Machine Learning?"

Mar 30th (7:00 PM) 516 Registered
More webinars

Related Discussions

Running random forest algorithm with one variable

View More