Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

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

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  [PyGame] Problem importing pygame / installing pygame Klar 4 765 Dec-16-2017, 05:48 PM
Last Post: Klar
  [Pygame] Avoid SentDex pygame tutorials georgecoopers 1 959 Apr-09-2017, 12:40 PM
Last Post: metulburr
  How to begin coding for game making [Install pygame on mac] mattkrebs 2 1,144 Apr-02-2017, 10:57 AM
Last Post: machrider
  [split] permission error on pygame install pyteach 7 1,880 Jan-23-2017, 11:00 PM
Last Post: pyteach

Forum Jump:


Users browsing this thread: 1 Guest(s)