zoukankan      html  css  js  c++  java
  • Jupyter Notebook不能在系统命令行里全局启动

    Anaconda安装好Juypyter Notebook之后,只能在base环境里启动,在系统的命令行里要全局启动Jupyter NoteBook失败了

    C:UsersHP>jupyter notebook
    Traceback (most recent call last):
      File "D:Anaconda3Scriptsjupyter-notebook-script.py", line 6, in <module>
        from notebook.notebookapp import main
      File "D:Anaconda3libsite-packages
    otebook
    otebookapp.py", line 46, in <module>
        from zmq.eventloop import ioloop
      File "D:Anaconda3libsite-packageszmq\__init__.py", line 47, in <module>
        from zmq import backend
      File "D:Anaconda3libsite-packageszmqackend\__init__.py", line 40, in <module>
        reraise(*exc_info)
      File "D:Anaconda3libsite-packageszmqutilssixcerpt.py", line 34, in reraise
        raise value
      File "D:Anaconda3libsite-packageszmqackend\__init__.py", line 27, in <module>
        _ns = select_backend(first)
      File "D:Anaconda3libsite-packageszmqackendselect.py", line 27, in select_backend
        mod = __import__(name, fromlist=public_api)
      File "D:Anaconda3libsite-packageszmqackendcython\__init__.py", line 6, in <module>
        from . import (constants, error, message, context,
    ImportError: DLL load failed: The specified module could not be found.
    

    亲测有效的方法是

    D:AnacondaLibrarymingw-w64in
    D:AnacondaLibraryin
    

    将Anaconda下的这两个目录添加到系统的环境变量里

  • 相关阅读:
    es6-class
    getter与setter
    对象1-属性描述符
    set与map
    vuex状态管理
    VMware虚拟机三种网络模式的区别(上篇)
    VMware虚拟机三种网络模式的区别(上篇)
    如何让FPGA中的SPI与其他模块互动起来
    如何让FPGA中的SPI与其他模块互动起来
    FPGA的SPI从机模块实现
  • 原文地址:https://www.cnblogs.com/MartinLwx/p/10521046.html
Copyright © 2011-2022 走看看