I'd like to install pygame on the newest python 3.11.0 version: if i use pip command it just keeps telling me that pygame is already installed... that is true because it is on python 3.10.8, but I want to install it on 3.11.0 too... How to install it also in the other version? Thanks ;)
I tried some suggestions found on internet but any of those worked
CodePudding user response:
Type out the full path to the 3.11 binary and use pip as a python module for that python binary, for example:
C:\some\path\to\python311\python.exe -m pip install pygame
The more complicated method, but definitely the more recommended way if you are using multiple different versions often and you wish to switch back and forth at will, is to use something like Miniconda to manage your environments.