在Pycharm中找不到Openpyxl [英] Openpyxl not found in Pycharm
问题描述
我是使用Pycharm编程Python的新手.我想访问 openpyxl (已安装),但收到以下错误消息:
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.
推荐答案
在pycharm
中,转到File
-> settings
-> project Interpreter
然后单击右上角的+
按钮,您将弹出安装软件包的窗口.然后搜索openpyxl
,您将获得最新的软件包.然后单击Install package
进行安装.
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.
这篇关于在Pycharm中找不到Openpyxl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!