In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Python installation
1. Create a folder
Mkdir python
Go to the folder and decompress:
Tar zxvf Python-3.6.5.tar
Go to the Python-3.6.5 folder and enter:
. / configure
Then there are a lot of processes, and finally you are prompted to run a command to follow the prompted command input.
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
Continue to wait for the installation to complete.
At this time, we cd to the root directory to check our own python version (because the python2.7 version cannot implement the library function of version 3.0 or later)
Python-V
What is the reason why it is still 2.7?
This is because the pyton3.6 version you installed has not been modified to the default version of the system.
At this point, you need to delete the python-related files located in the / usr/bin/ directory
Cd / usr/binls-al * python* # View the version that the existing soft link points to rm python # delete the old soft link ln-s python3.6 python # and create a new soft link
Look at the current version at this time, and this is the normal version.
2. Pycharm installation
After decompressing, enter the pycharm directory:
Cd pycharm-community-2019.2.5/binbash pycharm.sh # Executive Program
But it's troublesome to enter the directory every time you open it, so let's create a "shortcut":
3. Install third-party libraries
When the system installs the python3.6 version by default, the built-in pip is also the pip3 version (if there is no pip, use the apt intall pip3 command to install it) because errors are always reported when installing with pip, so it is recommended to download the installation package from the official website and install it yourself.
Here is an example:
After downloading the file, go directly to the directory:
Just install it!
Pip install PyQt... # complete
Summary
The above is the editor to introduce to you the linux operating system using python to achieve task manager visualization, I hope to help you, if you have any questions, please leave me a message, the editor will reply to you in time. Thank you very much for your support to the website! If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.