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: