Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in python library parso while running demo.py #39

Open
fatimatariq11 opened this issue Nov 11, 2022 · 0 comments
Open

Error in python library parso while running demo.py #39

fatimatariq11 opened this issue Nov 11, 2022 · 0 comments

Comments

@fatimatariq11
Copy link

Traceback (most recent call last):
File "demo.py", line 3, in
from inpaint import inpaint
File "/content/video-object-removal/inpaint.py", line 4, in
from inpainting.davis import DAVIS
File "/content/video-object-removal/inpainting/davis.py", line 7, in
import matplotlib.pyplot as plt
File "/usr/local/envs/task/lib/python3.5/site-packages/matplotlib/pyplot.py", line 2371, in
switch_backend(rcParams["backend"])
File "/usr/local/envs/task/lib/python3.5/site-packages/matplotlib/pyplot.py", line 207, in switch_backend
backend_mod = importlib.import_module(backend_name)
File "/usr/local/envs/task/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/envs/task/lib/python3.5/site-packages/ipykernel/init.py", line 2, in
from .connect import *
File "/usr/local/envs/task/lib/python3.5/site-packages/ipykernel/connect.py", line 13, in
from IPython.core.profiledir import ProfileDir
File "/usr/local/envs/task/lib/python3.5/site-packages/IPython/init.py", line 55, in
from .terminal.embed import embed
File "/usr/local/envs/task/lib/python3.5/site-packages/IPython/terminal/embed.py", line 16, in
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "/usr/local/envs/task/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 32, in
from .debugger import TerminalPdb, Pdb
File "/usr/local/envs/task/lib/python3.5/site-packages/IPython/terminal/debugger.py", line 6, in
from IPython.core.completer import IPCompleter
File "/usr/local/envs/task/lib/python3.5/site-packages/IPython/core/completer.py", line 146, in
import jedi
File "/usr/local/envs/task/lib/python3.5/site-packages/jedi/init.py", line 41, in
from jedi.api import Script, Interpreter, set_debug_function,
File "/usr/local/envs/task/lib/python3.5/site-packages/jedi/api/init.py", line 15, in
import parso
File "/usr/local/envs/task/lib/python3.5/site-packages/parso/init.py", line 41, in
from parso.parser import ParserSyntaxError
File "/usr/local/envs/task/lib/python3.5/site-packages/parso/parser.py", line 113
node_map: Dict[str, type] = {}
^
SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant