|
by: Alan Toppen |
last post by:
I was unable to use the ZipFile class in the zipfile module in Python2.4. I
got an error that zlib could not be found. Comparing my Python 2.2
installation I noticed Python 2.4 was missing a certain file:
/usr/lib/python2.2/lib-dynload/zlibmodule.so. Unable to find a more elegant
solution, I copied the file from my Python 2.2 directory into my Python 2.4
directory. When running my Python script it gives a warning:
...
|
by: Laszlo Zsolt Nagy |
last post by:
Sorry, I realized that the import zlib was not executed from my
(working) service.
So here is the question: why can't I use zlib from a win32 service? Is
there any way to make it working?
>-------------
>Python could not import the service's module
> File "T:\Python\Projects\NamedConnector\Service.py", line 17, in ?
> from Processor import *
> File "c:\Python\Projects\NamedConnector\Processor.py", line 35, in ?
|
by: shamzz |
last post by:
Hi,
I've compiled (configure/make/make install) Python 2.4.4 from source
on Suse Linux Enterprise Server 9 (x64).
I need Python to be compiled with Zlib so that I can compile and use
Zope.
After installing Python, zlib doesn't seem to have been compiled with
it, I've checked the /usr/local/lib/python2.4/lib-dynload/ folder and
|
by: patrickdepinguin |
last post by:
Hi,
I use zlib to write data structures to a compressed file, using the
gzwrite function. Afterwards I read the data back with gzread. I notice
that this works well when the data written is not that much, but when
there is more data to write, after a while I get data errors when
reading back the data.
Error in main: couldn't read stat
zlib error -3: test512-20070531-18h10m02.stat.gz: data error
|
by: Milos Prudek |
last post by:
Although I have Python 2.5 with zlib in my Linux disto, I need to install my
own Python (as most Zope developers do). Zope requires zlib. Python 2.4.4
does not contain zlib.
What is the correct procedure for installing zlib from source into Python?
--
Milos Prudek
|
|
by: Milos Prudek |
last post by:
I need to install my own Python. I compiled Python 2.4.4 from sources. zlib
did not compile - it's not in the lib-dynload directory.
I did not have this problem with any of my earlier Python compiles. I
routinely compile Python from source.
What is the correct procedure for installing zlib from source into Python?
--
Milos Prudek
|
by: stuntgoat |
last post by:
import zlib works in Python 2.4 (debian etch AMD64 - default python
version for that distro)
I built python 2.5 from source; zlib is not importable.
I am trying to compile MySQLdb.
any clues about how to get zlib able to be imported in 2.5?
-sg
|
by: mhearne808[insert-at-sign-here]gmail[insert-dot-he |
last post by:
I can't seem to get the zlib module to build on an RHEL box.
I did the following:
1) Download zlib 1.2.3
2) configure;make;make install
3) Download python 2.5.2
4) configure;make;make install
5) >>import zlib ="ImportError: No module named zlib"
In the make install step for python, I notice there are the following
|
by: rajevar |
last post by:
hi,
i have seen various post related to this topic but i couldnt resolve my issue yet.
Im using python version 2.5 on Linux environment
this is the error im getting if i try to import zlib
# python -c 'import zlib'
Traceback (most recent call last):
File "<string>", line 1, in <module>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|