Installing Pygame on 64bit Windows with Python 3.4 - python

I've downloaded the pygame-1.9.2a0-cp34-none-win_amd64.whl file and attempted to install it by doing the following:
Place in same directory as command prompt's default (C:\Users\NAME)
Type pip install pygame-1.9.2a0-cp34-none-win_amd64.whl in cmd
It throws the error 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.
I have 64-bit Windows 8.1 Pro and Python 3.4.3. How can I install Pygame?

I think this should help
https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/
Although the Kiwi might be more interesting for you.
http://kivy.org

Related

Python 3 version for Pygame [duplicate]

I have been trying to install pygame for 3.3 and 3.4 and can't find a way to install it probably with out it giving a error when I do pygame.init().
Is it because pygame.init() is not the proper code or is it because I installed it incorrectly? If so, can someone tell me how to install it?
You can find binary installations for pygame for python 3.4 on windows here. I'm not sure where you could find it if you're running a different operating system.
Check out downloads on their bitbucket repo (for windows):
https://bitbucket.org/pygame/pygame/downloads
On Windows: open your comandline and type:
pip install pygame
On Debian-based Linux type into your terminal:
sudo apt-get install python-pygame
I would recommend Gohlke's precompiled pythonlibs in wheel format :) pygame from Gohlke
I was never let down by those libraries and I used numpy, scipy, scikit-learn etc. (and pygame as well) extensively, which are one of the tougher to build on windows ;)

mu editor won't compile any code that uses pygame (ubuntu 22.04) [duplicate]

I have been trying to install pygame for 3.3 and 3.4 and can't find a way to install it probably with out it giving a error when I do pygame.init().
Is it because pygame.init() is not the proper code or is it because I installed it incorrectly? If so, can someone tell me how to install it?
You can find binary installations for pygame for python 3.4 on windows here. I'm not sure where you could find it if you're running a different operating system.
Check out downloads on their bitbucket repo (for windows):
https://bitbucket.org/pygame/pygame/downloads
On Windows: open your comandline and type:
pip install pygame
On Debian-based Linux type into your terminal:
sudo apt-get install python-pygame
I would recommend Gohlke's precompiled pythonlibs in wheel format :) pygame from Gohlke
I was never let down by those libraries and I used numpy, scipy, scikit-learn etc. (and pygame as well) extensively, which are one of the tougher to build on windows ;)

How do I install Pygame for Python 3.4.3 on a Windows 7 32-bit computer?

I am trying to install Pygame, but I am very confused. On the pygame.org website, there is no version for 3.4, and when I download the correct file from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame I get a .whl file. Upon further investigation, I've come across another question like this: How to install PyGame on Python 3.4?
But when I try to run
pip install wheel
pip install pygame-1.9.2a0-cp34-none-win32.whl
I get an error:
SyntaxError: invalid syntax
And it highlights the "install" part of the code.
Help?
If you go to the pygame bitbucket https://bitbucket.org/pygame/pygame/downloads
there is a .msi for 32bit Python 3.4 pygame.

Install pygame on windows

I am using windows 8.1 with python 3.4 installed. I want to install pygame on my computer. I download pygame-1.9.2a0-cp34-none-win_amd64.whl and try to install it like this
C:\Users\hp pc\Downloads>pip install pygame-1.9.2a0-cp34-none-win_amd64.whl
but it shows an error like this
pygame-1.9.2a0-cp34-none-win_amd64.whl is not a supported wheel on this platform
Is it a problem with my windows?
Kindly help me to fix it if there is any way to fix it.
Hi I had the same problems. I Just used the normal pygame download (http://www.pygame.org/download.shtml) and it worked just fine despite not being 64bit
Here is a link a link for the unafishal download that may have what you are looking for: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
hope you can get it to work for you (-:
I had this problem also on my "windows 8 64bit" with the 64 bit version of pygame. Which only runs on a 64bit python installation, I had at one time or another installed both versions.
To fix it I had to uninstall then reinstall the 64 bit Python and get it from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
Then I followed this guide for Installing the Windows 64-bit Version of Pygame
then I installed the wheel on windows 8 you need to remember to use the full path and 3.4 already had pip included
c:\python34\scripts\pip install c:\python34\scripts\pygame-1.9.2a0-cp34-none-win_amd64.whl

Python error when installing package using wheel files

I am trying to install pyHook with a wheel file (.whl) but for some reason it keeps giving me this error:
pyHook-1.5.1-cp34-none-win_amd64.whl is not a supported wheel on this platform.
I got the wheel file from this website:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
The command I use is:
pip install pyHook-1.5.1-cp34-none-win_amd64.whl
I have no idea what to do, I cant find any suggestions.
Python version 2.7
pip version 6.0.6
You are installing a Wheel created for Python 3.4, into Python 2.7. That won't work. Use the correct version and download the one with cp27 in the name:
pyHook‑1.5.1‑cp27‑none‑win_amd64.whl
I ran into the same issues whilst trying to install pyhook on Python 3.4. I downloaded the correct version from python software foundation.
I had to manually change the name of the file from pyHook_3k_compiled-1.5.1-cp34-cp34m-win_amd64.whl to pyHook-1.5.1-cp34-none-win_amd64.whl.
pip install pyHook-1.5.1-cp34-none-win_amd64.whl
And it worked!
You may not have installed the correct one for your operating system check whether it is the 32 bit or 64 bit variant and install it again

Categories

Resources