Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ModuleNotFoundError: No module named 'openpyxl' in python 3.6

Tags:

python-3.x

I have installed openpyxl through pip.

openpyxl package is present in below path

..\AppData\Local\Programs\Python\Python36-32\Lib\site-packages

I am using pycharm

In my code if I type

import openpyxl

openpyxl is highlighted with red color. If we move the cursor over openpyxl.Given below message is displayed

NO MODULE NAMED OPENPYXL

If I run the code ,I get the below error

import openpyxl
ModuleNotFoundError: No module named 'openpyxl'
like image 612
Kandan Siva Avatar asked Jan 26 '26 15:01

Kandan Siva


1 Answers

Goto File>Settings>Project>Project Interpreter

Hit +

Search openpyxl

Click Install Package

This is how you install packages easily in pycharm instead of pip

like image 117
vijayendra vashisth Avatar answered Jan 29 '26 13:01

vijayendra vashisth