I've installed pygame on my Mac (running macOS11.1). When I do the py -m pygame.examples.aliens test in my command prompts, it works.
However, when I try to import pygame on Spyder (running python 3.9.2 and spyder 4.2.4), I keep getting
ModuleNotFoundError: No module named 'pygame' What should I do?
https://stackoverflow.com/questions/66881450/how-do-i-install-pygame-for-spyder March 31, 2021 at 11:58AM
没有评论:
发表评论