Sublime Forum

Sublime will not import Pygame

#1

I downloaded Sublime Text 2.0.2.tar.bz2 for my Linux distro. I extracted it into its own sublime folder on /home/fitz. When I load a script originally written in IDLE and try to build it I get “ImportError: No module named pygame”. I assume that Sublime can not find Pygame. Does one of the 2 or both (Sublime or Pygame) have to be in certain directories. Is the a PATH that needs to be define in Sublime so that it can find Pygame.
.

0 Likes

#2

Are you able to run the script outside of ST? In console you would type something like “python script.py”.

0 Likes

#3

info about PATH docs.sublimetext.info/en/latest/ … ld-systems

0 Likes