Build a Python development environment in Ubuntu

Source: Internet
Author: User
It is easy to install Pycharm in Windows. Next we will introduce how to install the Python Development Environment runtime in Ubuntu with PycharmWindows.

It is easy to install Pycharm in Windows. The following describes how to install Pycharm In Ubuntu.

Build Python Development Environment http://www.linuxidc.com/Linux/2016-04/129722.htm under Windows System

1. Update Python to 3.5.1 and execute the following command:

sudo add-apt-repository ppa:fkrull/deadsnakessudo apt-get updatesudo apt-get install python3.5

After the execution is complete, enter python3.5 in shell. The following dialog box is displayed, indicating that Python3.5 has been updated successfully.

2. Install JDK 8 and enter the following command in the terminal:

sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install Oracle-java8-installer

Wait a few minutes until the execution is complete. Input

java -version

 

This indicates that JDK has been installed successfully. Configure the JAVA environment variables and enter

sudo update-alternatives --config java

The following information is displayed:

I select the automatic mode and enter

sudo nano /etc/environment

 

Add JAVA_HOME = "/usr/lib/jvm/java-8-oracle", Press Ctrl + O, and run the command again.

sudo nano /etc/environment

Reload the file. The JAVA_HOME configuration is complete.

3. Install Pycharm

I will download Pycharm (the specific download method is described in setting up a Python development environment in my Winows System)

Cd to the Bin directory of Pycharm

Then execute./pycharm. sh

The system automatically opens Pycharm, and you can use it after simple write settings.

You may also like the following article about Python:

Linux Python installation and precautions http://www.linuxidc.com/Linux/2015-11/124861.htm

Install Python rq module http://www.linuxidc.com/Linux/2015-08/122441.htm in Ubuntu 14.04

Run Python code http://www.linuxidc.com/Linux/2015-05/117357.htm directly without the need for an operating system

Install Python3.4 http://www.linuxidc.com/Linux/2015-01/111870.htm on CentOS source code

Python core programming version 2. (Wesley J. Chun). [High Definition PDF Chinese edition] http://www.linuxidc.com/Linux/2013-06/85425.htm

(Zhou Wei, Zong Jie). [hd PDF scan version + book with video + code] http://www.linuxidc.com/Linux/2013-11/92693.htm

Python script to get Linux information http://www.linuxidc.com/Linux/2013-08/88531.htm

Build a desktop algorithm transaction research environment http://www.linuxidc.com/Linux/2013-11/92534.htm with Python in Ubuntu

Brief history of Python development http://www.linuxidc.com/Linux/2014-09/107206.htm

Python details: Click here
Python: Click here

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-04/129723.htm

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.