Notebook: Application launch erro

Created on 20 Aug 2020  路  3Comments  路  Source: jupyter/notebook

C:\ProgramData\Anaconda3\lib\site-packages\setuptools\distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
warnings.warn(
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\ProgramData\Anaconda3\lib\site-packagesnotebooknotebookapp.py", line 49, in
from zmq.eventloop import ioloop
File "C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq__init__.py", line 50, in
from zmq import backend
File "C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq\backend__init__.py", line 40, in
reraise(*exc_info)
File "C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq\backend__init__.py", line 27, in
_ns = select_backend(first)
File "C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython__init__.py", line 6, in
from . import (constants, error, message, context,
ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (C:\Users\ArbaazROG\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython__init__.py)

Most helpful comment

try this
pip uninstall pyzmq
pip install pyzmq
it might help. I had a similar problem while opening jupyter notebook. that fixed it.

All 3 comments

try this
pip uninstall pyzmq
pip install pyzmq
it might help. I had a similar problem while opening jupyter notebook. that fixed it.

try this
pip uninstall pyzmq
pip install pyzmq
it might help. I had a similar problem while opening jupyter notebook. that fixed it.

Hey man thanks it worked.

Was this page helpful?
0 / 5 - 0 ratings