首页 > 其他 > 详细

jupyter安装_pip法

时间:2019-12-23 22:56:26      阅读:160      评论:0      收藏:0      [点我收藏+]

    安装jupyter notebook的流程(注意python至少需要3.6版本)

  1. python -m pip install jupyter  #安装jupyter
  2. python -m pip install –upgrade juypter  #更新升级

           注:这个会比较慢,最好设置时间,或者利用镜像更新

           设置时间:python -m pip –default-timeout=300 install –upgrade juypter

           利用镜像:python -m pip install –upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple juypter

       3.更新结束后,输入jupyter notebook。

          如果报错:

         ‘jupyter‘ 不是内部或外部命令,也不是可运行的程序或批处理文件。

         (1)    首先添加python路径到path中,如果还是不行

         (2)    命令改为jupyter.py notebook或者 python -m jupyter notebook

                  如果报错:

                 ImportError: cannot import name ‘constants‘ from ‘zmq.backend.cython‘

                 则重装pyzmq,先卸载,后重装

                 python -m pip uninstall pyzmq

                 python -m pip install pyzmq

jupyter安装_pip法

原文:https://www.cnblogs.com/wljlxx/p/12088678.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!