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

Getting error on when trying to run OCR anpr_ocr #26

Open
likwifi opened this issue Aug 17, 2020 · 1 comment
Open

Getting error on when trying to run OCR anpr_ocr #26

likwifi opened this issue Aug 17, 2020 · 1 comment

Comments

@likwifi
Copy link

likwifi commented Aug 17, 2020

Getting following error when running command jupyter notebook

Traceback (most recent call last):
File "/opt/conda/bin/jupyter-notebook", line 11, in
sys.exit(main())
File "/opt/conda/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "", line 2, in initialize
File "/opt/conda/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1602, in initialize
self.init_webapp()
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1354, in init_webapp
self.jinja_environment_options,
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 158, in init
default_url, settings_overrides, jinja_env_options)
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 275, in init_settings
nbextensions_path=jupyter_app.nbextensions_path,
File "/opt/conda/lib/python3.5/site-packages/notebook/notebookapp.py", line 1042, in nbextensions_path
from IPython.paths import get_ipython_dir
File "/opt/conda/lib/python3.5/site-packages/IPython/init.py", line 55, in
from .terminal.embed import embed
File "/opt/conda/lib/python3.5/site-packages/IPython/terminal/embed.py", line 16, in
from IPython.terminal.interactiveshell import TerminalInteractiveShell
File "/opt/conda/lib/python3.5/site-packages/IPython/terminal/interactiveshell.py", line 32, in
from .debugger import TerminalPdb, Pdb
File "/opt/conda/lib/python3.5/site-packages/IPython/terminal/debugger.py", line 6, in
from IPython.core.completer import IPCompleter
File "/opt/conda/lib/python3.5/site-packages/IPython/core/completer.py", line 146, in
import jedi
File "/opt/conda/lib/python3.5/site-packages/jedi/init.py", line 41, in
from jedi.api import Script, Interpreter, set_debug_function,
File "/opt/conda/lib/python3.5/site-packages/jedi/api/init.py", line 15, in
import parso
File "/opt/conda/lib/python3.5/site-packages/parso/init.py", line 41, in
from parso.parser import ParserSyntaxError
File "/opt/conda/lib/python3.5/site-packages/parso/parser.py", line 113
node_map: Dict[str, type] = {}
^
SyntaxError: invalid syntax

@likwifi
Copy link
Author

likwifi commented Aug 17, 2020

It seems like this issue comes from parso.
By default vm installs python 3.5 however parso requires 3.6 when upgrading with conda install python=3.6 this seems to be fixed.

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