Hi! i've been working on a project for an year. I used to use python2.7, but today i decided to upgrade it to python3.6. i've also upgraded pip, but when i run the command : pip3 install djangorestframework-extensions it gets the error:
ERROR: Command errored out with exit status 1:
command: /home/anamaria/workspace/licenta/AllFest2/festivals/myenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x3v6z7qz/djangorestframework-extensions/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x3v6z7qz/djangorestframework-extensions/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-x3v6z7qz/djangorestframework-extensions/pip-egg-info
cwd: /tmp/pip-install-x3v6z7qz/djangorestframework-extensions/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-x3v6z7qz/djangorestframework-extensions/setup.py", line 48
print "You probably want to also tag the version now:"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("You probably want to also tag the version now:")?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
i've reinstalled django and djangorestframework using python3. but it keeps showing the error.