subliminal
subliminal copied to clipboard
SyntaxError: invalid syntax print(*k)
On both latest debian and latest raspbian I run into a syntax error with sudo pip install subliminal
(python 2.7.16).
NOTE THAT sudo pip3 install subliminal
solves the problem...`
`Collecting guessit>=3.0.0 (from subliminal)
Downloading https://files.pythonhosted.org/packages/d1/bd/fff4ea8a8ac48f04505b562614a22e408095d91e56c01948658d05b23ad0/guessit-3.3.1.tar.gz (156kB)
100% |████████████████████████████████| 163kB 1.3MB/s
Complete output from command python setup.py egg_info:
/tmp/easy_install-slVltL/pytest-runner-5.3.0/temp/easy_install-s1wcww/setuptools_scm-6.0.1/src
<pkg_resources.WorkingSet object at 0x75a9edb0>
Traceback (most recent call last):
File "
File "/usr/lib/python2.7/dist-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 724, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 791, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 704, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 730, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 915, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1183, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1169, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-slVltL/pytest-runner-5.3.0/temp/easy_install-s1wcww/setuptools_scm-6.0.1/setup.py", line 52, in <module>
'Programming Language :: Python :: 3.9',
File "/tmp/easy_install-slVltL/pytest-runner-5.3.0/temp/easy_install-s1wcww/setuptools_scm-6.0.1/setup.py", line 29, in scm_config
'console_scripts': [
File "/tmp/easy_install-slVltL/pytest-runner-5.3.0/temp/easy_install-s1wcww/setuptools_scm-6.0.1/src/setuptools_scm/__init__.py", line 8, in <module>
File "/tmp/easy_install-slVltL/pytest-runner-5.3.0/temp/easy_install-s1wcww/setuptools_scm-6.0.1/src/setuptools_scm/config.py", line 6, in <module>
File "/tmp/easy_install-slVltL/pytest-runner-5.3.0/temp/easy_install-s1wcww/setuptools_scm-6.0.1/src/setuptools_scm/utils.py", line 41
print(*k)
^
SyntaxError: invalid syntax
`