pygame - Python - Livewires console error -


this third time pygame/livewires has led me website, , let last! after installing 'python 3.1.1' book, 'python programming absolute beginner', installed pygame , livewires. tested pygame entering

import pygame 

and worked running it. however, when tested livewires 'from livewires import games, colors produced no errors in idle, did produce error when ran it. error flicked away quick couldn't see it, recorded , paused @ right time , got error:

traceback (most recent call last):    file "c:\python31\test", line 1, in , <module>       livewires import games, colors    file "c:\python34\lib\site-packages\livewires\games.py", line 57, in <module>       import pygame, pygame.image, pygame.nixer, pygame.font, pygame.transform importerror: no module named 'pygame.image' 

something did notice says python34, version have, in error not python31, though problem may somewhere else completely. please not not spelling of 'color' messing up. guy made book , bundled special version of livewires seems have made spelled 'colors' , not 'colours'. i've tried both , using british spelling (the 1 use) causes error appear in idle well.

please help, hopefully, last time. in advance, harry.

you should set path , sys.path(the path modules imported from) pointing same version of python. python 3.1 executable in path, using modules of python 3.4.

and 1 way have isolated versions of python on system using virtual-env: https://virtualenv.pypa.io/en/latest/


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -