DEV Community

Discussion on: Visualizing Instagram engagement with instascrape and Python

Collapse
 
berencelli profile image
Anacleto Berencelli

Hey, Chris!
Great scraper. But I'm getting the following error right after installing it running...
!pip install insta-scrape
from instascrape import Profile


File "/usr/local/lib/python3.6/dist-packages/instascrape/scrapers/profile.py", line 1
from future import annotations
^

SyntaxError: future feature annotations is not defined

Please let me know what I'm missing here.

Collapse
 
chrisgreening profile image
Chris Greening

Hey thanks so much for checking out the lib!

Based on your traceback, it looks like you're running Python 3.6 and from futures import annotations is only available in >=3.7! Hope this helps 😄

Collapse
 
berencelli profile image
Anacleto Berencelli

Thanks!!