In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you what the Python3.8 installation process is like, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Today we will introduce python installation tutorials and pip installation of third-party libraries
First of all, we go to the python official website and enter the corresponding download section according to different system platforms in the download column. We take Windows as an example and click to enter. As the python2 version will no longer be updated, we choose to install python3. Version.
Go to the python3 version download interface, slide down, find the version we need, windows64 the executable version, and download it.
After downloading, we click install, and remember to check the add python 3.8 to PATH option, which is equivalent to automatically setting the environment variable of python. If it is not checked in this step, the environment variable setting method of python will be introduced later.
We can customize the installation, such as the location of the installation files can be modified, here we only choose the default installation, click install Now, wait for the installation is complete, click close.
Go back to the desktop, click start, and find python's IDLE, PRINT ('HELLO, worm')
After python is installed, let's introduce the setting of environment variables.
First, we go to the installation location of python, the folder location of python's application, and copy the path.
Go back to the desktop, right-click the computer, and click Properties.
Click Advanced system Settings
Click the environment variable
Select Path in the system variable and click Edit
Then create a new one, paste the path you just copied, and click OK all the way, so that the environment variable for python is set.
Python needs to use a large number of third-party libraries in the programming process. The third part introduces the pip method to install third-party libraries. PIP installation is the simplest mode of installing third-party libraries in python. At present, the python installation package comes with pip module, which does not need to be downloaded by ourselves.
To install online using pip, we need to ensure two basic conditions, namely:
1. The machine to be installed can be connected to the external network
two。 Know the name of the third-party library
For example, if we want to install the numpy development module, the installation command is:
Pip install numpy
As shown in the following figure, pip automatically downloads the installation package for numpy from the default source location, and then starts the installation:
The word succesfully installed will be prompted after the installation is complete.
At the same time, there is warning, which shows that the pip module is upgradeable. We copy the upgrade command line to upgrade as required, and we install numpy again to show that the module already exists.
We open the IDLE test and import it into numpy, which shows that there is no problem. It shows that the tripartite module has been installed successfully.
The above is what the Python3.8 installation process is like. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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: 240
*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.