You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,
I installed and tried to import demjson, but a python Error raised:
Traceback (most recent call last):
File "", line 1, in
File "/ifs1/Reotech/user/pengguoyu/software/demjson-2.2.4/demjson.py", line 645
class json_int( (1L).class ): # Have to specify base this way to satisfy 2to3
-----------------^
SyntaxError: invalid syntax
I don't know why this syntax error. My python version is:
Python 3.6.5
The text was updated successfully, but these errors were encountered:
How did you install demjson? The original source file is meant to be run under Python 2.x. To use it under Python 3.x, it needs to be transformed using the 2to3 conversion program. This is normally done by the setup.py if you install it using a standard Python packager. If not you can easily run 2to3 yourself.
By the way I'm using demjson 2.2.4 under Python 3.6.5 just fine.
hello,
I installed and tried to import demjson, but a python Error raised:
Traceback (most recent call last):
File "", line 1, in
File "/ifs1/Reotech/user/pengguoyu/software/demjson-2.2.4/demjson.py", line 645
class json_int( (1L).class ): # Have to specify base this way to satisfy 2to3
-----------------^
SyntaxError: invalid syntax
I don't know why this syntax error. My python version is:
Python 3.6.5
The text was updated successfully, but these errors were encountered: