Home > Backend Development > Python Tutorial > Detailed introduction to installing the third-party library pygame in Python

Detailed introduction to installing the third-party library pygame in Python

高洛峰
Release: 2017-03-22 10:04:14
Original
2709 people have browsed it

Environment: python3.5 win7 64-bit

Because the installation package in msi format is only 32-bit, it cannot be installed.

https://pypi.python.org/pypi/Pygame/1.9.3 Here you can choose the corresponding version to download, which is a whl file. What I downloaded here is

pygame-1.9.3-cp35-cp35m-win_amd64.whl

It is best to install wheel before installation

Detailed introduction to installing the third-party library pygame in Python

(pip is selected for installation when installing python)

Then install the pygame package

pip install package path\package name

Detailed introduction to installing the third-party library pygame in Python

If no error is reported, the installation is successful

The above is the detailed content of Detailed introduction to installing the third-party library pygame in Python. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template