from instapy import InstaPy
session = InstaPy(username='name', password='password')
session.login()
(I use VSC) my code breaks at the first line with error: from clarifai.rest import ClarifaiApp, Workflow ModuleNotFoundError: No module named 'clarifai.rest'
I tried reinstalling instapy, that specific module, but nothing changed.
Edit: Yes, I have tried reinstalling clarifai and it didn't help.
The solution is here I tested Franchen Bao's comment and it worked for me. I had this error after the emoji error. Looks like this project is a little unstable and can only handle certain versions of each package, like Franchen Bao said.
pip uninstall clarifai
pip install clarifai==2.6.2