I'm trying to make a game using pygame
and pygame_menu
. When I try to install pygame_menu
I get this error:
Traceback (most recent call last):
File "D:\Game\main.py", line 7, in <module>
import pygame_menu
ModuleNotFoundError: No module named 'pygame_menu'
I ran this command to install the module:
pip install pygame-menu -U
Here's how I import the module:
import pygame_menu
I have no idea how to fix this. If you know how to fix this or a better module for GUI elements in pygame please tell me.