Ubuntu :: Missing Zlib Module In Python?
Apr 9, 2010
I'm trying to run a backup script in an application which reports the following error message:
Quote:
** An error occurred while performing the backup process. **
Exception -> ['Traceback (most recent call last):
', ' File "backupdb.py", line 402, in main
', ' File "wtbackup.py", line 2665, in main
[Code]....
View 6 Replies
ADVERTISEMENT
Oct 7, 2010
I have a testing server (Centos 5.4) with cpanel installed, once i ran a script which erases log files by using the find and rm command.
Anyway looks like this script deleted one of the modules to python, the logging module. so python stopped working, i thought reinstalling it should solve the problem so i downloaded the tar ball and reinstalled python from source and it's all the same.
Now yum command isn't working because it's giving me this error "no module named logging".
I decided to synchronize the whole python folder /usr/lib/python2.4/ from the live server using rsync and it did not help
I searched for the yum rpm package and i downloaded and installed yum-3.2.22-20.el5.centos.src.rpm using rpm and it did not help.
View 5 Replies
View Related
Jan 14, 2011
Streamtuner2 installed via yum under either F13 or F14 complains that the pyquery python module is missing. My vague understanding is that it is relevant to parsing some xml. Pyquery doesn't seem to be in rpm form in any of the repositories, but can easily be installed from source:
As root:
Code:
yum install mercurial
As a regular user:
Code:
hg clone [URL]
cd pyquery
python setup.py build
As root, in the pyquery directory:
Code:
python setup.py install
Streamtuner2 works without pyquery, but I'm guessing can parse information about more streams with it.
View 2 Replies
View Related
Jan 9, 2010
I've recently installed fedora 12 and I'm trying to install setuptools using the following commands:
Code:
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
However, I get the following error:
Quote:
zipimport.ZipImportError: can't decompress data; zlib not available
I've tried using yum to reinstall python and zlib to no avail.
View 2 Replies
View Related
Jun 28, 2011
I am wanting to compile Firefox 5, which requires GTK+ 2.10, which requires glib 2.28, which requires zlib 1.2.5.When I install zlib 1.2.5, Ubuntu 10.04 brakes and I have to remove the zlib files for it to work again.Anyone got an idea why is this happening?Try it in a virtual machine and watch Ubuntu 10.04 fail.
View 3 Replies
View Related
Mar 3, 2010
I'm trying to run yum update and I'm seeing the following
error:--> Finished Dependency Resolution
perl-IO-Compress-2.024-1.el5.rf.noarch from rpmforge has depsolving problems Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed by package perl-IO-Compress-2.024-1.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed by package perl-IO-Compress-2.024-1.el5.rf.noarch (rpmforge)
You could try using --skip-broken to work around the problem
[Code]...
View 10 Replies
View Related
Feb 3, 2011
I am trying to get the python GUI working for OpenIPMI on Ubuntu and I can't find the required OpenIPMI python module. where to find this module suitable for Ubuntu 8.04.4 (Lucid)? There are RPMs available for different RedHat flavours but I can't find anything for Ubuntu.
View 2 Replies
View Related
May 12, 2010
After trying to upgrade from fedora 10 to fedora 11 gui and yum will not run. When i try to use yum i get a message that module urlgrabber is missing or wrong version. also libssl.so.7 is missing.
No yum options work.
View 3 Replies
View Related
Jan 14, 2010
Just throwing out a blanket call to see if anyone has been able to install the Pycrypto module (2.1.0) from source using Python 3.1.1? I have been able to get past two minor errors:
1. Error -
File "setup.py", line 46
raise RuntimeError, ("The Python Cryptography Toolkit require "
SyntaxError: invalid syntax
Solution - remove comma (,) and space prior to bracket
[Code]...
View 1 Replies
View Related
Jan 8, 2011
I installed openxenmanager without a problem. but when I tried to start it I got: ImportError: No module named gtkvnc
the start script is in python, and I am using python2.5 to run it. I already installed
gtk-gtk-vnc.i386 0.3.8-3.el5 installed
gtk-vnc.x86_64 0.3.8-3.el5 installed
gtk-vnc-python.x86_64 0.3.8-3.el5 installed
Note: when I use python2.4 I got another error and it skip the previous one, the error is: ImportError: No module named hashlib
and when I comment it the application is running but with errors.
View 1 Replies
View Related
Jul 10, 2010
This borders on stackoverflow/superuser, but I guess it's a simple installation problem.I've installed python-twisted on my ubuntu 10.04 server, but it can't be found.This is what I get when I try to import something:
>>> from twisted.internet import reactor
Traceback (most recent call last):
File "", line 1, in [code]....
I've installed the package through apt-get.That way the module is installed in this folder: /usr/lib/python2.6/dist-packages/twisted with an __init__.py file.When I try to use python setup.py install (on the download from the site) it installs it to /usr/local/lib/python2.6/dist-packages/twisted, but it also does not find it there.
View 1 Replies
View Related
Aug 5, 2011
How do I install the Python module for Gnash?
But apart from that, what basic concept am I not understanding about installing packages on Linux?
I am used to installing packages using package managers - mostly apt-get and zypper. I have occasionally installed from source, often with no trouble. However I recently installed Gnash and discovered that it has a Python binding that must be compiled from source and this has led down a rabbithole making me feel stupider at each turn.
First, I attempt do a ./configure --enable-python in the gnash source dir. This ends up failing with an error that
package pygtk-codegen-2.0 isn't found
The lead developer, Rob Savoye, was kind enough to point me at packages.debian.org, telling me I just need to locate this package. After many failed searches, I found that the python-gtk2-dev package contains this ... file? script? Great, but I couldn't figure out how to obtain the python-gtk2-dev package. It doesn't exist in any of my openSUSE configured repositories.
So I headed to the GNOME site and searched, found that the PyGTK package contains pygtk-codegen. Download the tarball, cd, ./configure, and this fails because I don't have GLIB. After some more searching I use zypper to install glib2-devel (libglib-2.0 was already installed), and now PyGTK fails to configure because I don't have GObject.
Find that, download tarball, cd, ./configure, fail. I don't have gobject-introspection-1.0, apparently. I DO have gobject-introspection installed, and it's version is ≥ 1.0, but that's what the script says.
So I will readily admit I am new to Linux, but I have to be missing some basic step here. Can anyone give me a clue about any of the above? Is it normal to have to install one dependency after another like this? Is OpenSUSE the wrong distro? What would make this process not so horrible?
View 2 Replies
View Related
Feb 7, 2010
Why is there no opensuse jack audio client module for python like pyjack.
View 2 Replies
View Related
Sep 28, 2009
I was trying to install MySQLbd (a module for python to connect and access MySQL) I followed these steps for installation[URL].. but while I am getting some installation errors. When I try to run $ python set.py build I am getting the following errors (I removed few errors as I can post more than 10000 characters here)
[Code]...
View 3 Replies
View Related
Apr 20, 2011
Where can I find SRPMs for the latest python-2.4.3-43 and gcc-4.1.2-50 included in CentOS 5.6? They seems to be missing from centos/5.6/os/SRPMS on all mirrors that I checked...
View 1 Replies
View Related
Jan 5, 2011
I ran 'sudo apt-get install python', which completed successfully. According to [url, this should have created the directory /usr/lib/python2.6, but I do not see any such directory.
This is causing problems:
I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue.
View 2 Replies
View Related
Nov 23, 2009
I get this missing dependency: Error: Missing Dependency: python(abi) = 2.3 I've tried to find this, but can find only references to it in past versions of Fedora (<9). I'm running F11.
View 1 Replies
View Related
Feb 2, 2010
I have an old Philips PCVC675K WebCam. It always worked with Ubuntu except the last karmic version. I even cannot modprobe the pwc module manually.
View 1 Replies
View Related
Mar 2, 2010
If you had Gimp 2.6 (with gimp-plugin-registry installed) and installed Gimp 2.7 to try its new goodies, but Layer Effects are not showing, and when executing "gimp" from console you get these *nasty* errors:
Code:
This is a development version of GIMP. Debug messages may appear here.
gimp-user-install: migrating from /home/user/.gimp-2.6
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in <module>
import gimp, gimpplugin, math
ImportError: No module named gimp .....
If you haven't install the 2.7 version yet. Before upgrading, backup "python" directory and then just restore it after installing 2.7.
View 6 Replies
View Related
Aug 18, 2009
i wanted to install screenlets under fedora 11 but python wont let me, is there a way to do it i keep getting the Python(abi) dependency missing message I've tryed both 32 and the 64 bits version, even the noarch i found here with no results at all
View 14 Replies
View Related
Dec 15, 2009
I just finished upgrading the last of 3 machines from F10 to F12 using preupgrade (all i686). Except for a non-critical hplip issue, all went well with the first two machines upgraded 1 week and 3 days ago, but some python F10->F12 updates were missing on the third machine that I upgraded yesterday, leaving yum inoperable. Thanks to good yum error messages, I was able to resolve the problem (I think), but I thought I should post to check if mine is a unique or common problem, to enquire if it may have resulted from some of the python packages being in "update transit" in the repositories, and/or whether something like this can be avoided in future? Details follow:
Upgrade appeared to go well except for some dejavu font dependency issues (experienced on all three machines) and libcrypto.so.7 missing for eet-1.2.2-4... (third machine). However, there was a boot message that some python module (can't remember which) was not present for some nvidia requirement, although video driver worked fine. When testing yum: First it complained that libpython2.6.so.1.0 was not present. Since that module conflicted (identified by rpm) with various python 2.5.*f10 packages that that were still on board, I copied libpython2.6.so.1.0 (from a current f12 rpm) into /usr/lib manually. Second, yum complained that urlgrabber was not available, so rpm with the latest python-urlgrabber for f12 solved that.
Third, yum complained that pycurl was not available, so rpm with the latest python-pycurl solved that. Yum now works! and boot message is gone! I ran "yum install python-libs" to make sure that any necessary dependencies were met following my manual installation of libpython2.6.so.1.0, which resulted in a bunch of python dependencies being upgraded as a result.
View 1 Replies
View Related
Dec 21, 2010
I have recently downloaded and installed Linux 10 mint to use instead of my current windows vista home premium. After downloading and installing when it went to boot it said the boot had failed and was missing module /dev/sde1
View 3 Replies
View Related
May 13, 2011
I am new to linux. I want to make use of an ".so" module in my python programme. I have successfully installed the ".so" module by a setup file. But when I try to import the ".so" module in my python programme I am getting an error like ImportError: /usr/local/lib64/python2.5/site-packages/_first.so: undefined symbol: __fread_chk.I am working on opensuse server. Please let me know if you require any further information.
View 2 Replies
View Related
Jun 16, 2011
I generally check what updates are being installed. This time sadly I didn't and again this kernel had one missing module. VirtualBox-OSE stopped working. It had been working fine with other upgrades. No it's not a problem with dkms or other stuff. This kernel doesn't have vboxdrv module like other kernels...i verified it...
[Code]...
The 2.6.38.8 version doesn't have vboxdrv module!....hence again I have to roll back to older kernel. So before blindly upgrading....read this message!
View 10 Replies
View Related
Nov 13, 2010
I am a bioinformatician i am trying to install one of my software named MAQ, on ubuntu biolinux when i try to configure, it can't locate zlib.h. But zlib.h file is present in /usr/src/linux-headres-2.6.32-21-generic/include/linux. Why it is not detecting this file? I am pasting result after applying ./configure.
[Code]....
View 3 Replies
View Related
Nov 23, 2009
I've built my own kernel and now boot.preload complains about the missing preloadtrace.ko kernel module.
Where can one find the source for this module?
View 1 Replies
View Related
Jan 27, 2010
I am trying to install Tracon Ubuntu Karmic Koala. In order to install Trac, setup tools needs to be installed.I have followed the instructions on this page;setuptools but when I run the 'python ez_setup.py' command I get the following error message
'Traceback (most recent call last):
File "ez_setup.py", line 278, in <module>
main(sys.argv[1:])
[code]....
View 9 Replies
View Related
Aug 28, 2010
I'm trying to install .tar.bz2 app. When I run cmake I get this error message:
Code:
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:15 (find_package)
Configuring incomplete, errors occurred!
View 2 Replies
View Related
Aug 24, 2010
I need to ensure that PHP is compiled with zlib as I would like to use the zip functionality provided with net2ftp. which option would I use with the php configure script
<php-x-x-dir>/configure --with-zlib
or
<php-x-x-dir>/configure --with-zlib-dir=/usr
or both
<php-x-x-dir>/configure --with-zlib --with-zlib-dir=/usr
before compiling, what apt-get install commands do I need to perform to ensure I have zlib on my system as I am not to sure as to which library to use I was thinking of using the following please confirm if this is correct.
apt-get install zlib1g-dbg zlib1g zlib1g-dev
View 1 Replies
View Related
May 12, 2014
I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.
I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.
I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....
View 0 Replies
View Related