Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
297 views
in Technique[技术] by (71.8m points)

Error while running jupyter notebook via Command line in Windows 10

Up till now I run jupyter notebook from anaconda prompt. But now I want to open it via command line but gets some warning and traceback call as follows:

C:UsersDELLanaconda3libsite-packagessetuptoolsdistutils_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:UsersDELLanaconda3Scriptsjupyter-notebook-script.py", line 6, in module from notebook.notebookapp import main
  • File "C:UsersDELLanaconda3libsite-packages otebook otebookapp.py", line 49, in module from zmq.eventloop import ioloop
  • File "C:UsersDELLanaconda3libsite-packageszmq_init_.py", line 47, in module from zmq import backend
  • File "C:UsersDELLanaconda3libsite-packageszmqackend_init_.py", line 40, in module reraise(*exc_info)
  • File "C:UsersDELLanaconda3libsite-packageszmqutilssixcerpt.py", line 34, in module reraise raise value
  • File "C:UsersDELLanaconda3libsite-packageszmqackend_init_.py", line 27, in module _ns = select_backend(first)
  • File "C:UsersDELLanaconda3libsite-packageszmqackendselect.py", line 28, in select_backend mod = import(name, fromlist=public_api)
  • File "C:UsersDELLanaconda3libsite packageszmqackendcython_init_.py", line 6, in from . import (constants, error, message, context,

and then gets an error stating that;

ImportError: DLL load failed while importing error: The specified module could not be found.

jupyter notebook executable file path (C:UsersDELLanaconda3Scripts) is already set in environment variable. So how to get rid of this problem?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...