cbdelavenne / fb-messenger-media-scraper

Helper script to scrape your Facebook Messenger account for images shared in your conversations quickly and efficiently.
MIT License
6 stars 1 forks source link

syntax error / module not found #7

Closed PeterPusztai closed 3 years ago

PeterPusztai commented 4 years ago

Hi! I tried to run your script, following the execution guide. If I run with "python ./fbm-scraper.py", I get the error:

File "./fbm-scraper.py", line 162 print('+', sep=' ', end='', flush=True) ^ SyntaxError: invalid syntax

If I run it with "python3 ./fbm-scraper.py", I get the error:

Traceback (most recent call last): File "./fbm-scraper.py", line 2, in import requests ModuleNotFoundError: No module named 'requests'

Any idea what have I done wrongly? Thanks!

cbdelavenne commented 3 years ago

Hey @PeterPusztai

Did you install the prerequisites as instrucuted in the README.md ?

pip install -r requirements.txt