Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax|self, auth=None, *, cache=None, host='api.twitter.com', parser=None, #1723

Closed
arjunAryaGit opened this issue Dec 6, 2021 · 1 comment
Labels
Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable

Comments

@arjunAryaGit
Copy link

Traceback (most recent call last):
File "temp.py", line 1, in
import tweepy
File "/usr/lib/python2.7/site-packages/tweepy/init.py", line 12, in
from tweepy.api import API
File "/usr/lib/python2.7/site-packages/tweepy/api.py", line 93
self, auth=None, *, cache=None, host='api.twitter.com', parser=None,
^
SyntaxError: invalid syntax

@Harmon758
Copy link
Member

Harmon758 commented Dec 6, 2021

Support for Python 2 was dropped with v4.0.0.
See #1253.

For code block usage, see https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.

@Harmon758 Harmon758 added Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable labels Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid This is not valid Stale This is inactive, outdated, too old, or no longer applicable
Projects
None yet
Development

No branches or pull requests

2 participants