Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Freeze Question

Thread Tools

Freeze Question

David Detlefsen
Posts: n/a
I'm trying to distribute a python program on SunOS 5.8 with python 2.2.1 and
I think I'm having a shared library problem.

I've tried running the 'frozen' program on two different machines and I get
the following error message...

'import site' failed; use -v for traceback
Traceback (most recent call last):
File "", line 1, in ?
File "/usr/local/lib/python2.2/", line 131, in ?
File "/usr/local/lib/python2.2/", line 41, in ?
ImportError: No module named _socket

I've read the warning in the freeze README about shared libraries and I do
indeed see the "Warning: unknown modules remain..." message.

So I guess I this means I have to rebuild python with static linking (this
is a mystery to me) OR is there a way to hack the makefile (or perhaps some
other file) and have the missing modules found and included in the frozen
program without a rebuild of python?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
freeze string fails to freeze ??? Ruby 5 03-15-2007 11:29 PM
Mozilla Question: Too many tabs open causes freeze?? Pedro Sanchez Firefox 19 06-10-2006 06:32 AM
Simple question about freeze mrstephengross Python 2 02-18-2006 12:37 AM
freeze question.. chong tan Python 0 04-20-2005 07:07 PM
Mouse/computer freeze question..... stumped. Brian S. Computer Support 18 12-01-2003 09:00 AM