im trying to use pfreeze but its not working
couldn't import toontown
couldn't import otp
couldn't import direct.extensions
couldn't import direct.extensions
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Developer/Panda3D/direct/showutil/pfreeze.py", line 117, in <module>
freezer.done(compileToExe = compileToExe)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 886, in done
self.__loadModule(mdef)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 976, in __loadModule
self.mf.load_module(mdef.moduleName, fp, pathname, stuff)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1437, in load_module
return modulefinder.ModuleFinder.load_module(self, fqname, fp, pathname, (suffix, mode, type))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 305, in load_module
self.scan_code(co, m)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 414, in scan_code
self._safe_import_hook(name, m, fromlist, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 323, in _safe_import_hook
self.import_hook(name, caller, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 127, in import_hook
m = self.load_tail(q, tail)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 204, in load_tail
m = self.import_module(head, mname, m)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1392, in import_module
return modulefinder.ModuleFinder.import_module(self, partname, fqname, parent)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 274, in import_module
m = self.load_module(fqname, fp, pathname, stuff)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1437, in load_module
return modulefinder.ModuleFinder.load_module(self, fqname, fp, pathname, (suffix, mode, type))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 305, in load_module
self.scan_code(co, m)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 414, in scan_code
self._safe_import_hook(name, m, fromlist, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 323, in _safe_import_hook
self.import_hook(name, caller, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 126, in import_hook
q, tail = self.find_head_package(parent, name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 182, in find_head_package
q = self.import_module(head, qname, parent)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1392, in import_module
return modulefinder.ModuleFinder.import_module(self, partname, fqname, parent)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 274, in import_module
m = self.load_module(fqname, fp, pathname, stuff)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1437, in load_module
return modulefinder.ModuleFinder.load_module(self, fqname, fp, pathname, (suffix, mode, type))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 305, in load_module
self.scan_code(co, m)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 414, in scan_code
self._safe_import_hook(name, m, fromlist, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 323, in _safe_import_hook
self.import_hook(name, caller, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 126, in import_hook
q, tail = self.find_head_package(parent, name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 182, in find_head_package
q = self.import_module(head, qname, parent)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1392, in import_module
return modulefinder.ModuleFinder.import_module(self, partname, fqname, parent)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 274, in import_module
m = self.load_module(fqname, fp, pathname, stuff)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1437, in load_module
return modulefinder.ModuleFinder.load_module(self, fqname, fp, pathname, (suffix, mode, type))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 305, in load_module
self.scan_code(co, m)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 414, in scan_code
self._safe_import_hook(name, m, fromlist, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 323, in _safe_import_hook
self.import_hook(name, caller, level=level)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 127, in import_hook
m = self.load_tail(q, tail)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/modulefinder.py", line 204, in load_tail
m = self.import_module(head, mname, m)
File "/Developer/Panda3D/direct/showutil/FreezeTool.py", line 1387, in import_module
libname = m.__libraries__[-1]
AttributeError: 'module' object has no attribute '__libraries__'