ubuntu安装jupyter notebook并运行出现各种bug

运行.ipynb文件需要安装jupyter notebook!

ubuntu16.04 安装jupyter notebook:

(1)更新和升级包

                sudo apt-get update
                sudo apt-get upgrade

(2)安装pip

                sudo apt-get install python-pip
(3)升级pip

             sudo pip install --upgrade pip
(4)安装jupyter

           sudo pip install jupyter
 (5)运行jupyter

      sudo jupyter notebook 
 运行jupyter出现以下错误及其他错误:

Gtk-ERROR **: GTK+ 3 symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

以上错误的解决方案:

重新安装浏览器,本人重新安装的浏览器为谷歌!

ubuntu安装谷歌浏览器的方法如下():

https://jingyan.baidu.com/article/335530da98061b19cb41c31d.html()

ubuntu安装好谷歌浏览器之后出现的error及解决方案如下:

https://blog.csdn.net/s_sunnyy/article/details/79276480

参考文章:

https://blog.csdn.net/jenyzhang/article/details/73275232(安装jupyter notebook)

猜你喜欢

转载自blog.csdn.net/jiao_mrswang/article/details/82769995
今日推荐