Reputation: 39
I tried to download Pygame onto my computer. I accidentally downloaded the 64-bit version when I have a Python 3.5 32-bit version on my computer. I am using the Windows command prompt python pip installation module. I realized my mistake and disinstalled it, saved the 32-bit version onto the computer, and tried to use the command prompt again. When an error came up, I specified the specific path of the Pygame 32-bit version but this came up:
pygame-1.9.3-cp35-cp35m.win32.whl is not a supported wheel on this platform
When I use the python -m pip install Pygame, it installs the 64-bit version, even though I deleted all copies of it from the computer, even in the Downloads file. Is there any way around this? I want to install the 32-vit version.
Upvotes: 2
Views: 3113
Reputation: 20438
The problem was that two Python versions were installed, one 32 bit and one 64 bit ( installed with Anaconda). The Anaconda version took precedence over the normal 32 bit version in the command-line, so it tried to install pygame for the wrong version. We figured that out by looking at the start text (with the version numbers, bitness, etc.) that appears when you start Python from the command-line and in IDLE.
Upvotes: 1