Advertisement

使用Python环境配置启动Jupyter Notebook

阅读量:

安装与配置流程

首项操作为Jupyter Notebook的安装过程

复制代码
    pip install jupyter
    
    
      
    

第二步:进入到所创建的 Virtualenv 环境中(此处以 venv3 为例)

复制代码
    source venv3/bin/activite
    
    
      
    

第三步:借助清华镜像来安装IPykernel,能够显著提升安装速度

复制代码
    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ipykernel
    
    
      
    

第四步:将所创建的 Virtualenv 环境整合至 IPykernel 中

复制代码
    python -m ipykernel install --user --name=venv3 
    
    
      
    

第五步:启动Jupyter环境

复制代码
    jupyter notebook
    
    
      
    

报错识别与处理机制

报错1:

[W 00:19:00.741 NotebookApp] 未能检测到可用的网络浏览器,

全部评论 (0)

还没有任何评论哟~