Dec-06-2021, 03:56 PM
I have installed PyCharm as my python IDE.
Previously, I (think) I installed a module pygame that has USB joystick interfaces.
In my program,I want to insert the import statement but am having errors.
I have inserted import pygame and get a module not found error.
so, I know the directory where pygame was installed.. C:/users/barry
so I am trying import C:/users/barry and this doesn't work.
What am I doing wrong??
I have tried c\users\barry\pygame.py and a few other attempts so how do I get pygame imported?
Thanks
Previously, I (think) I installed a module pygame that has USB joystick interfaces.
In my program,I want to insert the import statement but am having errors.
I have inserted import pygame and get a module not found error.
so, I know the directory where pygame was installed.. C:/users/barry
so I am trying import C:/users/barry and this doesn't work.
What am I doing wrong??
I have tried c\users\barry\pygame.py and a few other attempts so how do I get pygame imported?
Thanks