Hi, i need to "compile" a python source (2.3.6) to make it standalone
on Solaris 9.
I get this warning on freezing my source:
"Warning: unknown modules remain: _locale _random _socket array
binascii cStringIO datetime fcntl math pwd select strop termios time"
in the source i have: "import os, stat, re, datetime, time, glob"
and running the frozen application I get: "ImportError: No module
named datetime"
like i have read in the old post in this newgroup i tried to recompile
python to avoid shared libraries (i used ./configure --disable-
shared), and to reinstall python of course (recompiling my source) but
the same problem occour. In Modules/Setup i don't have shared
libraries and the line "*shared*" is commented.
I have tried also other freeze application (Gordon MacMillan,
cx_freeze), but i get a fatal error importing zlib also if i have
installed right.
Someone have some tips?
Thanks in advance 2 1612
What command are you using to "freeze" your source?
On Apr 24, 4:23 pm, Flyzone <flyz...@technologist.comwrote:
Hi, i need to "compile" a python source (2.3.6) to make it standalone
on Solaris 9.
I get this warning on freezing my source:
"Warning: unknown modules remain: _locale _random _socket array
binascii cStringIO datetime fcntl math pwd select strop termios time"
in the source i have: "import os, stat, re, datetime, time, glob"
and running the frozen application I get: "ImportError: No module
named datetime"
On 24 Apr, 17:23, Flyzone <flyz...@technologist.comwrote:
I get this warning on freezing my source:
I use the command:
../Python-2.3.6/Tools/freeze/freeze.py /path/to/my/file.py This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Grzegorz Dostatni |
last post by:
Cheers.
I am trying to create a single executable that contains my program. Due to
legal issues I was unable to use a dynamically linked python executable.
Over the last couple of weeks I...
|
by: Timothy Shih |
last post by:
Hi,
I am having a freezing issue with my application. My application serves
several remotable objects, all of which must be initialized before their
use. Furthermore, some of them depend on each...
|
by: Agnes |
last post by:
I understand it is impossible, but still curious to know "Can I freeze
several column in the datagrid, the user can only scroll the first 3 columns
(not verical), for the rest of the coulumn, it is...
|
by: mrstephengross |
last post by:
I'm working with the freeze utility, and I'm trying to learn the
basics. For the most part, I think I understand how it works. I have a
question about modules, though.
I want to make sure that...
|
by: kristian.hermansen |
last post by:
After freezing a PYGTK app, I am unable to run it. It this a common
problem, because I could not find any documentation on it at all.
I tried freezing this example, which gets by the make as...
|
by: kristian.hermansen |
last post by:
keherman@ibmlnx20:/tmp$ cat helloworld.py
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
|
by: jmalone |
last post by:
I have a python script that I need to freeze on AIX 5.1 (customer has
AIX and does not want to install Python). The python script is pretty
simple (the only things it imports are sys and socket)....
|
by: jm.suresh |
last post by:
I am trying to use freeze to create a single binary executable for one
of my program. When I run freeze, it runs fine with the following
modules. These modules are available in the dyn-load...
|
by: Mike Kent |
last post by:
In a comment Guido made on a recent bug report for the 'freeze'
utility, he stated:
"I think nobody really cares about freeze any more -- it isn't
maintained."
That being the case, what is...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |