简体   繁体   English

ImportError:没有名为pygame Windows 8的模块

[英]ImportError: No module named pygame windows 8

I am trying to install pygame for windows and I have tried installing it using .msi file but still I get this error . 我正在尝试为Windows安装pygame,并且尝试使用.msi文件安装它,但仍然收到此错误。 My computer has Windows 8 (64-bit Operating System, x-64 based processor). 我的计算机具有Windows 8(64位操作系统,基于x-64的处理器)。 My python version is 2.7.11(32 bit). 我的python版本是2.7.11(32位)。

I guess the might be the possible error. 我猜可能是可能的错误。

First, make sure that your python version and the pygame version which you are trying to download both are in same version.For your case , your python version in 2.7 , therefore you need to download pygame for version 2.7 and NOT for version 3.3.If you still dont get the solution, get back to me i will try to help you. 首先,请确保您要下载的python版本和pygame版本处于同一版本。对于您的情况,您的python版本为2.7,因此您需要为2.7版本而不是 3.3版本下载pygame。您仍然没有得到解决方案,请回到我这里,我将尽力帮助您。

Here is the download link for pygame downloads. 是pygame下载的下载链接。

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

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