Hey all,
Just tried to install the shotgun api with:
pip install git+git://github.com/shotgunsoftware/python-api.git
But I got this error:
C:\Users\STEVE>pip install git+git://github.com/shotgunsoftware/python-api.git
Traceback (most recent call last):
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\STEVE\AppData\Local\Programs\Python\Python38-32\Scripts\pip.exe\__main__.py", line 7, in <module>
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\commands\__init__.py", line 104, in create_command
module = importlib.import_module(module_path)
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\commands\install.py", line 24, in <module>
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\cli\req_command.py", line 16, in <module>
from pip._internal.index.package_finder import PackageFinder
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\index\package_finder.py", line 21, in <module>
from pip._internal.index.collector import parse_links
File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\pip\_internal\index\collector.py", line 9, in <module>
import mimetypes
File "P:\Studio\software\appLibrary\shotgunApi\python-api\shotgun_api3\lib\mimetypes.py", line 571
print USAGE
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(USAGE)?
Any ideas on how to fix this ?
Thanks
Steve