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.
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.
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)
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.
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
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.
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?
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
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.
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.
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.
Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.
When opening gedit as a user I get the following message
Gkt-message: Failed to load module "'pk-gtk-module"
If I try to open gedit as root I get the same message but with other messages. These are shown in the attached file. gtk.txt
This is on an upgraded machine using the preupgrade method. The same has happened on two machines upgraded from F14 to F15 the same way. 64 bit systems.
How to clean this up so the messages do no appear?
in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work
I've been unable to boot into x using the real-time kernel from CCRMA at home. I get the error "Failed to load module "nvidia" (module-specific error,0) no drivers available. I'm using the driver from Nvidia. I know that this is not an official Fedora kernel and I should be bothering CCRMA about this, but in the mean time could I edit the entry in grub.conf so that it will use the Nouveau driver for that kernel only? That way I could "dual-boot", and just use the rt kernel when I want to use audio software and don't need 3d graphics.
I am trying to install a Sunix 4018T dual parallel port card on a pc with Mandriva Linux 2010.1: Dealer told me that linux has driver for this card already so I inserted it and turned on my pc. Unfortunately when I try to install my Okidata ML320, cups it's not showing any parallel ports. I try to update all the system with last patches and packages :I tested the card on a pc with windows xp, installed my printer and it works perfectly.
Can someone tell me how to correct the "Invalid module format"? I hope that correcting the "Invalid module format" error, I will not have the "Unknown symbol in module" error.
Note: I am using wlan1 for this module as I previously am online with the wlan0 network.The same error occurs if I use ./wlan0up.
I'm trying to enable the rewrite module in apache, to enabled the module I followed the last entry in the fist page this thread:[URL]...When I restart the apache all works fine, so I supose it's enabled
Now I create .htaccess in my apache folder (/home/user/apache), and I write this:
Code: RewriteEngine On RewriteRule ^link([^/]*).html$ test.php?link=$1 [L] And I try to execute this: ./.htaccess, I have this mistakes: Code: ./.htaccess: 1: RewriteEngine: not found ./.htaccess: 2: Syntax error: "(" unexpected What are I doing wrong?
nits@nits-desktop:/mnt/Storage/Tors/Incomp$ btdownloadcurses --check_hashes 1 filename.torrent /usr/lib/python2.6/dist-packages/BitTorrent/Storage.py:4: DeprecationWarning: the sha module is deprecated; use the hashlib module instead from sha import sha
These errors occurred during execution:
[09:37:48] IOError - [Errno 5] Input/output error
Got this error when I tried hash checking, was downloading the file using rtorrent when there was a sudden powercut and my system shutdown abruptly, tried restarting the torrent and kept encountering problems while restarting.
I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x
I need to install module u32 into the netfilter module for kernel 2.6.27.
I did not see the source code in the kernel version I have. where can I find the code for U32 module.
I have checked "netfilter.org" and looks like POM is discontinued. Is the u32 module committed to kernel version 2.6.27 or need to patch it. If yes, where can I find the patch?