0

Successfully installed the openpyxl module with pip. It imports no problem on the python terminal, but imports fail in Pycharm.

Thought I might have messed up the installation so uninstalled the module and reinstalled.

After reinstalling the second time, checked if python recognized the module and if it works. It passed both those checks. But when using Pycharm and using the import command it doesn't work.

Hoping someone with more experience with Pycharm can help. Attached related screenshots below. I am using Python 3.7 (32-bit).

If I am missing any information or breaking any rules please let me know.

https://i.stack.imgur.com/ZgwGh.jpg

Thank you all in advance.

Rohitashwa Nigam
  • 399
  • 5
  • 16

1 Answers1

-1
  1. Uninstall Pycharm
  2. Reinstall Pycharm but with this setting make sure to click on "add launchers dir to the PATH"

Installing setting: installing setting screenshot

pppery
  • 3,731
  • 22
  • 33
  • 46
Amz
  • 1
  • You may want to clarify why ***Run the pip install command in the virtual environment you are using in pycharm i.e. run the command from the terminal in the pycharm.*** as pointed out by Shashank Singh's question comment (and acklowdged by the OP) did not solve this problem for you. – Ivo Mori Dec 25 '20 at 02:54