1. Python installation 1. Create a folder. mkdir python Enter the folder and decompress it: tar zxvf Python-3.6.5.tar Enter the Python-3.6.5 folder and enter: ./configure Next, a lot of processes will appear, and finally you will be prompted to run a command. Just enter the command as prompted. Enter the make command (if the prompt does not exist, just use apt install make to install it) and wait. make && make install #compile and install Just continue to wait for the installation to complete. At this time, we cd to the root directory to check our own python version (because python 2.7 cannot implement the library functions of versions above 3.0) python -V I found that it is still 2.7. What is the reason? This is because the pyton3.6 version you installed has not been modified to the system default version At this time, you need to delete the python related files in the /usr/bin/ directory cd /usr/bin ls -al *python* #View the version pointed to by the existing soft link rm python #Delete the old soft link ln -s python3.6 python #Create a new soft link Then check the current version, it is the normal version. 2. Install pycharm After decompression, enter the pycharm directory: cd pycharm-community-2019.2.5/bin bash pycharm.sh #Execute the program But it is troublesome to enter the directory every time you open it, so we create a "shortcut": 3. Install third-party libraries When the system installs Python 3.6 by default, its built-in pip is also pip 3 (if there is no pip, use the apt install pip3 command to install it). Because errors always occur when using pip for installation, it is recommended to download the installation package from the official website and install it yourself. Here are some examples: After downloading the file, go directly to this directory: Just install it! pip install PyQt... #done Summarize The above is what I introduced to you about how to use Python to visualize the task manager in the Linux operating system. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you! You may also be interested in:
|
<<: Swiper+echarts realizes the left and right scrolling effect of multiple dashboards
>>: 3 common errors in reading MySQL Binlog logs
The attributes of the <TR> tag are used to ...
Welcome to the previous canvas game series: 《VUE ...
The solution to the problem that Navicat cannot r...
Quick Start 1. Find the nginx image on Docker Hub...
A problem occurred when configuring a cluster. Or...
Problem description: When phpstorm's SFTP hos...
Table of contents Preface vue.config.js configura...
Table of contents 01 sql_slave_skip_counter param...
1. Ubuntu Server 18.04.5 LTS system installation ...
CJK is the abbreviation of CJK Unified Ideographs...
Table of contents Create a vue + ts project using...
Sometimes we save a lot of duplicate data in the ...
This article shares the specific code of JavaScri...
Uninstall MariaDB CentOS7 installs MariaDB instea...
When you install MySQL, you will be given an init...