ModuleNotFoundError: 没有名为“instabot"的模块 [英] ModuleNotFoundError: No module named 'instabot'

查看:78
本文介绍了ModuleNotFoundError: 没有名为“instabot"的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过 pip 在 python 中安装了 instabot,但我的 pycharm 中出现此错误:

I installed instabot in python by pip but I have this error in my pycharm:

ModuleNotFoundError: 没有名为instabot"的模块

ModuleNotFoundError: No module named 'instabot'

推荐答案

您使用了错误的 Python 环境.转到 File->Settings->Project->Project Interpreter.PyCharm 当前正在使用的 python 环境中将有一个已安装包的列表.如果未安装 instabot,请单击 + 符号并搜索 instabot 并安装它.

You are using wrong python environment. Go to File->Settings->Project->Project Interpreter. There will be a list of installed packages in python environment PyCharm is currently using. If instabot is not installed, click on the + sign and search for instabot and install it.

applyok,你就可以使用模块了.

Press apply and ok and you can use module.

这篇关于ModuleNotFoundError: 没有名为“instabot"的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆