Dec-06-2017, 08:22 PM
Dec-06-2017, 09:48 PM
Make sure your project uses same interpreter/environment as the one in which you installed pygame.
Go to "File" -> "Settings (projectname)" -> "Project interpreter"
There you should see list of installed packages with the interpreter you are using.
From there you can easily change to a different interpreter or create a virtual environment - click the wheel icon to the right of current interpreter. Or install a package - click green + icon to the right of packages list.
Go to "File" -> "Settings (projectname)" -> "Project interpreter"
There you should see list of installed packages with the interpreter you are using.
From there you can easily change to a different interpreter or create a virtual environment - click the wheel icon to the right of current interpreter. Or install a package - click green + icon to the right of packages list.
Dec-06-2017, 10:47 PM
1. installed pygame to c:/pythonx
2. clicked the green + icon to add package (it was not listed as an installed packed, only the python 3.4...package is)
*not sure which file to select from pythonx dir when browsing after clicking the + icon?
2. clicked the green + icon to add package (it was not listed as an installed packed, only the python 3.4...package is)
*not sure which file to select from pythonx dir when browsing after clicking the + icon?