"struct" module problem w/ pyinstaller

K

Keith

Hello,
I am trying to create exectuables on inux using "pyinstaller". I am
using pyinstaller-1.3, RHEL 4.4, Python 2.5.

The executables fail to run. The problem returned is pertaining to
"struct.py" not being able to find the module "_struct".

struct.py is located under /usr/local/lib/python-2.5/, and there is a
_struct.o (no _struct.py anywhere) located under /usr/local/lib/
python-2.5/lib-dynload.

When trying to run the executable, the loader returns:
File "/usr/local/lib/python2.5/struct.py", line 30, in <module>
ImportError: No module named _struct

The line in question is:
from _struct import Struct, error

I am a python neophyte. If someone could give me some information, I
would appreciate it.
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top