World's Best AI Learning Platform with profoundly Demanding Certification Programs
Designed by IITians, only for AI Learners.
Designed by IITians, only for AI Learners.
New to InsideAIML? Create an account
Employer? Create an account
ModuleNotFoundError: No module named 'openpyxl',Not able to access excel file and also not able save in excel file in vs code
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.