I have a game that works fine on my computer. I used pygame2exe to create a .exe and now I get a log file genereated that says:
File "runloop.py ", line 3, in <module>
File "zipextimporter .pyo", line 82, in load_module
File "game1.pyo" , line 5, in <module>
AttributeError: 'module' object has no attribute 'Bridge'
here's the code:
import sys
import pygame
import levelobjects
from player import *
from Gadgets import *
from background import *
from pygame.locals import *
Does anyone know why?
File "runloop.py ", line 3, in <module>
File "zipextimporter .pyo", line 82, in load_module
File "game1.pyo" , line 5, in <module>
AttributeError: 'module' object has no attribute 'Bridge'
here's the code:
import sys
import pygame
import levelobjects
from player import *
from Gadgets import *
from background import *
from pygame.locals import *
Does anyone know why?
Comment