How to install 3.x In the Python Environment

Source: Internet
Author: User

The Python Environment version is growing. Do you know the Python Environment version 3.x? The following article describes how to use the 3.x version in actual application. The following is a detailed description of the article.

Windows installation: there are too many versions of the 37python environment. It seems that the development team now maintains 2.5, 2.6, and 3.xat the same time. In the classic version 2.5, many third-party libraries are supported, and pyinstaller can be used to package programs. Therefore, this is the best version. The 3.x version is a development trend in the future. However, it is not compatible with previous versions and Its syntax has changed. For new users, this version may be difficult to find learning materials and third-party library support. Please wait for a while.

  • A detailed introduction to the actual operation scheme of Python Programming
  • Introduction to IDLE in the python Development Environment
  • Seven types of applicable software in the Python Development Environment
  • Use the easy_install software in python package management
  • What software is involved in the Python study notes?

A good thing about python is that they can coexist. Therefore, version 2.6.4 has not been deleted and 2.5.2 has been directly installed. If you want to call Python from a Windows command line, you need to set the PATH variable correctly.

For Windows 2000, XP, and 2003, choose Control Panel> system> advanced> environment variable. In the "System variables" form, click the variable named PATH, edit the variable, and add; C: \ Python25 to its end. Of course, it is the correct directory name of Python. The default python shell is not easy to use. According to the pioneer's suggestion, I installed ipython. .

At the same time, we also need to download a color display function that supports the shell environment. Go back to the previous page and select pyreadline-1.5-win32-setup.exe. After downloading, we first install ipython. Because I installed two versions of python earlier, we need to select a version during the installation process. I chose version 2.5.

Install pyreadline and select version 2.5 during installation. Next, add; c: \ python25 \ scripts to the end of the Environment Variable PATH. Then, enter ipython in the command line to enter the ipython interactive environment.

If it is too troublesome, you can choose the one-stop solution Python (x, y). The following part is from the search. Because there are too many reposts, the original article is no longer available: this is a bit large (close to 400 mb ), however, it comes with many frequently-used scientific computing libraries and the famous PyQt.

Some people may think that scientific computing databases are not very useful. However, a dry Library such as nump and scipy is depended on by many other libraries, and there are also many libraries related to documents, such as sphworkflow, which will also be a headache. At the same time, PyQt is also famous for new users and is difficult to correctly Configure. python (x, y) can be used directly after it is installed, and it feels great.

It also comes with IDE and some useful tools. This also includes the previously installed ipython.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.