简体   繁体   中英

Import openpyxl failing in Pycharm

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://imgur.com/a/2A5VymR

Thank you all in advance.

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

Installing setting:安装设置截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM