I'm trying to install pygame on my Windows 10 and I'm using python 3.6.7. I'v created a virtual environment for my project and use python3 -m pip install -U pygame --user
to install the package (version 1.9.4).
I received the message that the package has been installed correctly but when I tested it with python3 -m pygame.examples.aliens
I got the message pygame.error: video system not initialized
Also, when I ran pygame.init()
in the command line, I received (4,2) instead of (6,0).
Could this be a issue with my hardware?