You are not logged in.
On two separate Arch machines I can install packages python and python-pygame and still get the following error:
[mark@kramdesktop ~]$ python
Python 3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pygame'
>>> I checked, and verified that python-pygame depends on python, so I assume that this is the pygame made for python3, which is default now.
What am I missing?
Offline
Python 3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0] on linuxIf you performa full system update to python-pygame 2.4.0-1/python 3.11.5-2 can you still reproduce the issue?
Offline
Python 3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0] on linuxIf you performa full system update to python-pygame 2.4.0-1/python 3.11.5-2 can you still reproduce the issue?
A full system upgrade solved it! Thank you!
Can you explain to me why this helped?
Offline
python-pygame 2.4.0-1 (you did not provide the version/release) is built for python 3.11 while your system had python 3.10 installed (which is not the the current version/release) possibly due to a partial upgrade.
Offline