taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.4k stars 581 forks source link

Invalid Syntax? #174

Closed nbreide closed 5 years ago

nbreide commented 5 years ago

Traceback (most recent call last): File "/usr/local/bin/twitterscraper", line 9, in load_entry_point('twitterscraper==0.9.3', 'console_scripts', 'twitterscraper')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 565, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2697, in load_entry_point return ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2370, in load return self.resolve() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/init.py", line 2376, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "build/bdist.macosx-10.14-intel/egg/twitterscraper/init.py", line 13, in File "/Library/Python/2.7/site-packages/twitterscraper-0.9.3-py2.7.egg/twitterscraper/query.py", line 291 logger.info(f"Got user information from username {user}") ^ SyntaxError: invalid syntax

cosmicespresso commented 5 years ago

This is not fixed - had to edit it manually on /Library/Python/2.7/site-packages/twitterscraper-0.9.3-py2.7.egg/twitterscraper/query.py.