Openpyxl not found in Pycharm

旧时模样 提交于 2020-05-29 09:53:26

问题


I am new to programming Python using Pycharm. I would like to access openpyxl (which I installed) but get the following error message:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "D:\PyCharm\PyCharm Community Edition 
2017.3.3\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 20, in 
do_import
    module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'openpyxl'

This is probably a very simple problem but I just don't know how to proceed. Thanks in advance for your help.


回答1:


In the pycharm, go to File->settings->project Interpreter Then click the right top corner + button you will get pop up window to install packages. Then search for openpyxl you will get the latest package. Then click Install package to install it.



来源:https://stackoverflow.com/questions/49413493/openpyxl-not-found-in-pycharm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!