I am trying to import the package JWT into Python 2.7 and I am getting a SyntaxError: invalid syntax. What can I do to fix this?
-
Possible duplicate of What does -> mean in Python function definitions?vaultah– vaultah2017-05-05 17:37:52 +00:00Commented May 5, 2017 at 17:37
-
You have a Python 3 version of this package installed.user2357112– user23571122017-05-05 17:44:12 +00:00Commented May 5, 2017 at 17:44
-
@vaultah I don't see how that directly answers the problem with an import statement.Big_Ozzy– Big_Ozzy2017-05-05 17:45:31 +00:00Commented May 5, 2017 at 17:45
-
@user2357112 Thanks that was the problem, needed to install Pyjwt package to get it work thank you.Big_Ozzy– Big_Ozzy2017-05-05 17:49:17 +00:00Commented May 5, 2017 at 17:49
Add a comment
|
