I tried to run Jupyter notebook from my Windows command prompt with this command:
python -m notebook
But I get the following error:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec)File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)File "C:\ProgramData\Anaconda3\lib\site-packages\notebook_main_.py", line 3, in
from notebook import notebookapp as appFile "C:\ProgramData\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 7, in
import asyncioFile "C:\ProgramData\Anaconda3\lib\asyncio_init_.py", line 26, in
from .queues import *File "C:\ProgramData\Anaconda3\lib\asyncio\queues.py", line 12, in from .tasks import coroutine
File "C:\ProgramData\Anaconda3\lib\asyncio\tasks.py", line 329
fs = {async(f, loop=loop) for f in set(fs)}
^
SyntaxError: invalid syntax
I have no idea what to do next.
jupyter notebook
. – srishtigargasync
used as function name, it's a keyword now). Make sure your Jupyter is up to date! – Klaus D.