Reputation: 27
I was using python 32-bit and pygame worked perfectly fine, but then I needed python 64-bit to get another module. Now python 64-bit is set to my standard python, so every time I try to open my programs with pygame in them it crashes instantly, and I have to open them with IDLE 32-bit and then press F5
to run them, which is annoying.
I was wondering if it is possible to get pygame to work with python 64-bit.
I tried pip installing pygame for 64-bit, but it said it was already installed.
If it is impossible to get pygame to work with 64-bit python, please tell me how to change it so that 32-bit python is the default.
I am using python 3.6.4 by the way.
Thank you
Upvotes: 0
Views: 1390
Reputation: 611
Perhaps try uninstalling pygame first.
py -m pip uninstall pygame
py -m pip uninstall pygame
py -m pip install pygame --user
Additionally you could try running pip from inside your python(or IDLE). Note, you have to restart IDLE after it has installed using this method.
>>> import pip
>>> pip.main('uninstall pygame'.split())
>>> pip.main('install pygame --user'.split())
The webpage with up to date install instructions is here: https://www.pygame.org/wiki/GettingStarted
Upvotes: 2