470,561 Members | 1,557 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,561 developers. It's quick & easy.

"struct" module problem w/ pyinstaller

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/

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.

Jul 27 '07 #1
0 1422

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Pablo Gutierrez | last post: by
10 posts views Thread by Pantokrator | last post: by
4 posts views Thread by Daniel Mark | last post: by
8 posts views Thread by Mohammad Omer Nasir | last post: by
8 posts views Thread by cman | last post: by
15 posts views Thread by arnuld | last post: by
20 posts views Thread by Francine.Neary | last post: by
8 posts views Thread by anon.asdf | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.