Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to install and deploy a Python environment

Shulou Source: shulou.com Published: 2022-06-01 19:08:49 10月03日 Update

This article will give you a detailed explanation on how to install and deploy the Python environment. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Select Python IDE

I have always had a crush on some IDE developed by JetBranis. Although their IDE requires very high configuration of computers, I don't mind. For example, their IDE covers most of the mainstream development environments and is also the best IDE.Android, java,php,python,go,ios, front end. Their company has corresponding IDE, and their IDE tools are all in the same line. You will use one of them. Then other IDE are basically the same.

For beginners, try not to delay your study because of IDE. Pycharm integrates all the plug-ins you need, which is the biggest advantage of Pycharm over other IDE! Remember! remember!

Python environment installation

Today, developers focus on Python learning, so jetbrains's Pycharm is of course my preferred tool for development.

Download address of Pytharm win version

Then need an activation code, here I choose a server, enter the address http://idea.imsxm.com/ to activate.

Then start IDE and open it here and you will get an error saying that you have not selected the python interpreter No Python interpreter selected

Open the official website of python and download the official website of python interpreter. Here I download version 3.6. although most mature libraries are still using version 2.x, since it is learning, it must be oriented to the future, so I choose version 3.6 here.

Double-click to install the Python interpreter file.

After installation, in the IDE startup screen where the error appears, add add local to select the interpreter, and then click Create

In this way, the python environment is built.

Nima: it's too easy. I forgot to take screenshots. In fact, the construction is really very simple. If there is no picture, there is no picture.

The last sentence of the classic code hello world effect picture

This is the end of the article on "how to install and deploy the Python environment". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Environment selection development interpretation company version article interpreter learning address tools more activation error good practical same mature continuous mainstream Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS OPPO Reno Shulou Information Microsoft