Cannot import name 'Post' from 'instascrape'

Viewed 333
1 Answers

Make sure to install insta-scrape, and not a package with a similar name.

pip3 install insta-scrape

Update

Additionally, make sure to uninstall any other packages that may use the same module name, i.e., "instascrape". Most importantly, please make sure you do not name your python file, or any other file in the directory your working from "instascrape.py". That might be another reason causing that error.

Related