Jupyter notebook Python2 and Python3 coexistence (Ubuntu)

Source: Internet
Author: User
Tags jupyter jupyter notebook

Hint Notice

Date: 2018/04/06

Theme: Ubuntu under Caffe frame

Protagonist: Jupyter Notebook

Brief introduction:

Jupyter Notebook (formerly known as IPython Notebook) is an interactive notebook that supports the running of more than 40 programming languages.

The essence of Jupyter Notebook is a WEB application that facilitates the creation and sharing of literary program documents, supports real-time code,

Learning equations, visualization and markdown. Uses include: Data cleansing and transformation, numerical simulation, statistical modeling, machine learning, and so on.

The Linux operating system was born on October 5, 1991 (This is the first time the official outward announcement). There are many different Linux versions of Linux,

But they all use the Linux kernel. Linux can be installed in a variety of computer hardware devices, such as mobile phones, tablets, routers,

Video game consoles, desktop computers, mainframes, and supercomputers.

Warm tips

Python2 and Python3,jupyter notebook have been installed.

How to view:

[email protected]:~$ python2--version

Python 2.7.14:: Anaconda, Inc.

[email protected]:~$ python3--version

Python 3.6.4:: Anaconda, Inc.

If Python2 and Python3 are installed:

Execute the following code (purple section):

[1] $python2-m pip install Ipykernel

[2] $python2-m ipykernel install--user


[3] $python3-m pip install Ipykernel

[4] $python3-m ipykernel install--user

Not loaded with Python2 or Python3.

on

Anaconda2 Installation (x64):

(1) Enter download the corresponding installation package sh, can not FQ into the Tsinghua Open source Mirror station to download

(2) run in the terminal after entering the download directory: Bash anaconda2-4.3.1-linux-x86_64.sh

Geneva

Anaconda3 installation (x64):

(1) Enter the official website to download the corresponding installation package sh, can not FQ into the Tsinghua Open source mirror station to download

(2) run in the terminal after entering the download directory: Bash anaconda3-5.3.1-linux-x86_64.sh


after the final jupyter notebook open, the effect is as follows:



Jupyter notebook Python2 and Python3 coexistence (Ubuntu)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.