Build a Python development environment in Ubuntu

Source: Internet
Author: User

Build a Python development environment in Ubuntu

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

Build a Python development environment in Windows

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:

Installation of Python in Linux and precautions

Install and use the Python rq module in Ubuntu 14.04

Directly run Python code without the need for the operating system

Install Python3.4 on CentOS source code

Python core programming version 2. (Wesley J. Chun). [Chinese version of hd pdf]

Python development technology details. (Zhou Wei, Zong Jie). [hd PDF scan version + book guide video + code]

Obtain Linux information using a Python script

Build a desktop algorithm transaction research environment using Python in Ubuntu

A Brief History of Python Development

Python details: click here
Python: click here

This article permanently updates the link address:

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: [email protected] 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.