Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

whenever i make a program on geany and with python and use the pygame module and run it it returns with an error: Traceback (most recent call last): File "", line 1, in import time,pygane ImportError: No module named pygane

i heard that if you run python 2.7.3 on geany it recognizes the pygame module

share|improve this question
pygame is not pygane - perhaps that's an additional issue. – gertvdijk Oct 6 '13 at 10:59
Did you configure geany to run python scripts? Did enable the universe repository? Did you install sudo apt-get install python-pygame? – MadMike Oct 7 '13 at 11:16

Either configure Geany inside build menu -> Set build commands hard to use Python 2.7 by choosing python2 (is this supported by Ubuntu?) or adjust your shebang of your Python files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.