Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install Pygame
I downloaded and installed pygame, however, not sure how to "link" it with my IDE (pycharm) so it recognizes "import pygame" ...
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.
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?

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  pip install pygame choking on SDL dependency sneakyimp 20 262 10 hours ago
Last Post: metulburr
  pip can't install pygame SheeppOSU 1 217 Dec-08-2018, 08:20 PM
Last Post: snippsat
  [PyGame] Problem importing pygame / installing pygame Klar 4 1,657 Dec-16-2017, 05:48 PM
Last Post: Klar
  [Pygame] Avoid SentDex pygame tutorials georgecoopers 1 1,359 Apr-09-2017, 12:40 PM
Last Post: metulburr
  How to begin coding for game making [Install pygame on mac] mattkrebs 2 1,607 Apr-02-2017, 10:57 AM
Last Post: machrider
  [split] permission error on pygame install pyteach 7 2,514 Jan-23-2017, 11:00 PM
Last Post: pyteach

Forum Jump:

Users browsing this thread: 1 Guest(s)