user10358642
user10358642

Reputation:

ModuleNotFoundError: No module named 'instabot'

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

ModuleNotFoundError: No module named 'instabot'

Upvotes: 1

Views: 3360

Answers (2)

JustBeingHelpful
JustBeingHelpful

Reputation: 18980

This can also happen if you set up multiple interpreters with the same version and then assign a python file to the interpreter. You might be adding your packages in PyCharm > File > Settings to one interpreter, but not even realize you have configured another interpreter of the same Python version for a different environment under PyCharm > Python file dropdown > Edit Configuration.

Upvotes: 0

Dinko Pehar
Dinko Pehar

Reputation: 6061

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.

Press apply and ok and you can use module.

Upvotes: 2

Related Questions