简体   繁体   English

使用 Python 3.4 在 64 位 Windows 上安装 Pygame

[英]Installing Pygame on 64bit Windows with Python 3.4

I've downloaded the pygame-1.9.2a0-cp34-none-win_amd64.whl file and attempted to install it by doing the following:我已经下载了 pygame-1.9.2a0-cp34-none-win_amd64.whl 文件并尝试通过执行以下操作来安装它:

  1. Place in same directory as command prompt's default (C:\\Users\\NAME)放置在与命令提示符默认相同的目录中 (C:\\Users\\NAME)
  2. Type pip install pygame-1.9.2a0-cp34-none-win_amd64.whl in cmd在cmd中输入pip install pygame-1.9.2a0-cp34-none-win_amd64.whl
  3. It throws the error pygame-1.9.2a0-cp34-none-win_amd64.whl is not a supported wheel on this platform .它抛出错误pygame-1.9.2a0-cp34-none-win_amd64.whl is not a supported wheel on this platform

I've heard that you have to install the 32-bit version of Python to install Pygame, but that seems like a huge pain and I'd rather not have more headaches after hours of attempting to install Pygame.我听说你必须安装 32 位版本的 Python 才能安装 Pygame,但这似乎是一个巨大的痛苦,我宁愿在尝试安装 Pygame 数小时后不再头疼。

I have 64-bit Windows 8.1 Pro and Python 3.4.3.我有 64 位 Windows 8.1 Pro 和 Python 3.4.3。 How can I install Pygame?如何安装 Pygame?

I think this should help我认为这应该有帮助

https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/ https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/

Although the Kiwi might be more interesting for you.尽管 Kiwi 对您来说可能更有趣。

http://kivy.org http://kivy.org

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

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