简体   繁体   中英

Can't start Jupyter Notebook in Linux (Ubuntu)

It says it installed Jupyter Notebook correctly, but when I launch it I get the error in the image: 在此处输入图片说明

The installation I used was: pip

sudo apt-get install python3-pip

Then Pandas

sudo pip3 install pandas

then Jupyter notebook

sudo pip3 install Jupyter

Does it have anything to do with the version of Python (3 vs 2)? How do I get Jupyter Notebook to start?

I had similar problems firing jupyter notebook on Ubuntu 18.4.x

Since jupyter notebook in itself requires another installation we need to install it. So I used this command and it worked please try and see if it works for you

@user-VirtualBox:~$ sudo apt install jupyter-notebook

It will ask for any password if you have set for Ubuntu once you enter this you should see

Reading package lists.. Done

Building dependency tree

...

...

etc

Once installation completed, type at prompt

@user-VirtualBox:~$ jupyter-notebook

You'll notice that jupyter's notebook system will automatically open Mozilla Firefox and it's ready go.

Let me know how it works.

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM