Configuring Python3 in Jupyter

Source: Internet
Author: User
Tags virtual environment jupyter jupyter notebook

1, first according to https://www.pyimagesearch.com/2017/09/25/configuring-ubuntu-for-deep-learning-with-python/ The content in the address is configured VIRTUALEVN the virtual environment,

Assuming that the current virtual environment is DL4CV, start it first: Workon DL4CV, type: $: Python, and you'll see the current virtual environment as python3.6.1, or Python3.

2, enter $: Jupyter notebook, will start the browser Jupyter, after launch, click on the right icon New, if only Python2, then first exit the Jupyter

3, under DL4CV virtual, installation Jupyter:pip install Ipython and pip install Jupyter

4. Wait for the installation to complete, by command: $: python-m ipykernel Install--user Add the Python3 of the current environment to the Jupyter.

5. At this point, type again: $: Jupyter notebook, will start the browser Jupyter, after launch, click on the right icon New, you will be able to see both Python2 and Python3.

Configuring Python3 in Jupyter

Related Article

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.