Hello there, I am new to python and new to this platform. If I am asking something stupid and/or in the wrong section, please be gentle with me - thanks a lot!
I am currently experiencing problems with python when trying to use the module “pygame”.
I am running Python 3.10.11 on a Windows 11 Pro operating system. I did install pygame via “pip3.10 install pygame”. When checking for the pygame-version, I am receiving the following answer:
This happens because you have more than one Python on your computer, and the one where you have installed Pygame is not the one you are running for your tests. Each Python has its own copy of pip, to install libraries for that Python only. pip3.10 install pygame means: ask the operating system to look up the program name pip3.10, and then install pygame to the Python that this pip corresponds to. This may not be the same Python that you get by asking the operating system to find py, or python, or python3, or even python3.10. It will depend on your system configuration. (Although py is a special case; it is a separate program that is not itself Python, which will find and run a Python for you, based on its own rules.)