Jefferson-Henrique / GetOldTweets-python

A project written in Python to get old tweets, it bypass some limitations of Twitter Official API.
MIT License
1.35k stars 807 forks source link

Can you help with this issue? #82

Open bingshuishuang opened 7 years ago

bingshuishuang commented 7 years ago

I am new to python, the version I used it python 3.X The problems are found in got3 folder. Could you help me? Thank you!

Traceback (most recent call last): File "Exporter.py", line 6, in import got3 as got File "/Users/bingshuishuang/Desktop/GetOldTweets-python-master/got3/init.py", line 2, in from . import manager File "/Users/bingshuishuang/Desktop/GetOldTweets-python-master/got3/manager/init.py", line 2, in from .TweetManager import TweetManager File "/Users/bingshuishuang/Desktop/GetOldTweets-python-master/got3/manager/TweetManager.py", line 3, in from pyquery import PyQuery File "/Users/bingshuishuang/anaconda/lib/python3.5/site-packages/pyquery/init.py", line 8, in import webob File "/Users/bingshuishuang/anaconda/lib/python3.5/site-packages/webob/init.py", line 2, in from webob.request import * File "/Users/bingshuishuang/anaconda/lib/python3.5/site-packages/webob/request.py", line 795 assert isinstance(todo, (int, long)), todo ^ SyntaxError: invalid syntax

Jefferson-Henrique commented 7 years ago

I recommend you to use Python 2.7, the code is well tested with this python version.