Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/user/.local/lib/python3.5/site-packages/pytest/init.py", line 3, in
from . import collect
File "/home/user/.local/lib/python3.5/site-packages/pytest/collect.py", line 8, in
from _pytest.deprecated import PYTEST_COLLECT_MODULE
File "/home/user/.local/lib/python3.5/site-packages/_pytest/deprecated.py", line 13, in
from _pytest.warning_types import PytestDeprecationWarning
File "/home/user/.local/lib/python3.5/site-packages/_pytest/warning_types.py", line 8, in
from _pytest.compat import final
File "/home/user/.local/lib/python3.5/site-packages/_pytest/compat.py", line 39
NOTSET: "Final" = NotSetType.token # noqa: E305
I get this error when using python3.5:
Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.5/runpy.py", line 133, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details import(pkg_name) File "/home/user/.local/lib/python3.5/site-packages/pytest/init.py", line 3, in
from . import collect
File "/home/user/.local/lib/python3.5/site-packages/pytest/collect.py", line 8, in
from _pytest.deprecated import PYTEST_COLLECT_MODULE
File "/home/user/.local/lib/python3.5/site-packages/_pytest/deprecated.py", line 13, in
from _pytest.warning_types import PytestDeprecationWarning
File "/home/user/.local/lib/python3.5/site-packages/_pytest/warning_types.py", line 8, in
from _pytest.compat import final
File "/home/user/.local/lib/python3.5/site-packages/_pytest/compat.py", line 39
NOTSET: "Final" = NotSetType.token # noqa: E305
SyntaxError: invalid syntax