简体   繁体   English

Pygame可以运行64位Python 2.7吗?

[英]Can Pygame run with 64bit Python 2.7?

我知道建议卸载64位Python并使用win32版本来运行Pygame,但我只是想知道是否可以在64位上运行它。

Basically, the answer is yes. 基本上,答案是肯定的。 I know because I had the same problem. 我知道因为我有同样的问题。

Once you have installed Python 2.7 on your 64-bit machine, you need to visit this web site, which is linked from the official pygame website: 在64位计算机上安装Python 2.7后,您需要访问此网站,该网站是从官方pygame网站链接的:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

On a Windows machine, for example, you download a self installing file, which puts the pygame module in your site-package package folder within the Python directory.This directory can be found in the LIB folder. 例如,在Windows计算机上,您下载自安装文件,该文件将pygame模块放在Python目录中的site-package包文件夹中。此目录可以在LIB文件夹中找到。

在此输入图像描述

It is really as simple as that. 它真的很简单。

This site has a 64bit version of PyGame on it. 这个网站上有64位版本的PyGame。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM