使用pip for python 3.4安装pygame时出错 [英] Error while installing pygame using pip for python 3.4

查看:267
本文介绍了使用pip for python 3.4安装pygame时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起,以为我编辑说我在Windows 64位上 尝试使用pip安装Pygame时,出现以下错误:

Sorry, thought i edited to say i am on windows 64 bit When trying to install Pygame using pip, I get the following error:

要求'pygame.whl'看起来像文件名,但该文件不存在pygame.whl不是有效的转轮文件名."

"requirement 'pygame.whl' looks like a file name, but the file does not exist pygame.whl is not a valid wheel filename."

我的文件路径正确,pip正常工作.我尝试安装32位和64位pygame,但均无法正常工作.在命令提示符下,输入"pip install pygame.whl"(我重命名了我认为不重要的文件,该文件保存在下载中).

I have my file paths right and pip is working. I have attempted to install 32 bit and 64 bit pygame but neither is working. In the command prompt I enter "pip install pygame.whl" (I renamed the file which I don't think should matter and it is saved under downloads).

如何解决此错误?

推荐答案

非常感谢您的帮助ventsyv,我终于明白了.我相信这是来自pygames网站的安装程序的问题.我找到了另一个网站,该网站带有pygame的链接,专门用于python 3.4.2.我现在没有错误消息,它的工作原理很棒.感谢您忍受我哈哈.

Thankyou so much for your help ventsyv, i finally figured it out. i believe it was an issue with the installer from pygames site. i found another site with a link to pygame and specifically for python 3.4.2. i now have no error messages and its working great. Thanks for putting up with me haha.

这篇关于使用pip for python 3.4安装pygame时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆