Programming :: Python Version And Trac Installation?
Oct 30, 2010
I have debian SID,my repository has libapache2-mod-python version 3.3.1-9+b1 and python 2.6.6-6 No, i configured my apache and restarted my apache, but i saw following errors in the apache's log file:
[Sat Oct 30 15:14:06 2010] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'.
[Sat Oct 30 15:14:06 2010] [error] python_init: Python executable found '/usr/bin/python'. [Sat Oct 30 15:14:06 2010] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/u
i can't downgrade my python and my libapache2-mod-python is last version.
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 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 know what version of python I am running. I am running ubuntu 10.04 and am going to be downloading wxpython but need to know what version of python I am running.In php there is a built in command phpinfo() that tells you everything you need to know about your installation of php, does python have something like this?Also, learned of python 2.7 today, I am currently learning python and am wondering if i should go ahead and upgrade or wait??
I want to install OpenERP software which requires python 2.5 ,but my fedora 11 is having the python 2.6 installed by default, how can I downgrade the python 2.6 to 2.5 version. Also I need to know which version of yum is compatible with python 2.5 version.
This may sound a bit of an awkward question, but I have this app, Salome-Platform, [URL], It requires Python 2.5 at most to be able to run. (Compiling it is way to complex.) Since the Python of Slackware is 2.6, can it be downgraded to 2.5...? If it can, how do I do it...?
I need to add python2.6 to RHEL55/SL55 that is based on python2.4.3 to utilize the full functionality of another program. Since I already killed one system by replacing the default python version (previous tread), I asked developers how to safely enable already installed 2.6 without crashing the system. Here is the You could install 'python26' from EPEL[1], presumably this does not break /usr/bin/python since it installs the new version as /usr/bin/python2.6.
I need to know how to make a program use a version of python older than the newest one. I am trying to run the Traipse fork of OpenRPG. Through their forums, I have learned that one of my problems is that I am running too new a version of python. I have python 2.7.1 installed.
I also have python2.6.6 installed, so I should be able to use that. My first thought was to uninstall 2.7.1 and just use the older version. The problem is that if i uninstall 2.7.1, it wants to also uninstall all the packages dependent on that program. Let's face it, in Natty Narwhal, that is pretty much everything.
Do you know how to force Traipse make it use the 2.6 version?
how you change the default version of python in Lucid. Lucid comes packaged with 2.6 but we use 2.5 where I work. I didn't see much of anything on the web for this topic so figured I'd post something. If you are installing python2.5 on Lucid version 10.04 (comes package with 2.6 only)
I installed a newer version of python in /usr/local/bin/python2.6. Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4). Also, I want to see the same even after I reboot. How do I do that?
I'm currently installing GTK+ under Fedora Core 13. Before you install GTK+ you have to install GLIB, Pango and ATK. When installing ATK it goes wrong. After giving the "./configure" I get following error:
checking for GLIB - version >= 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.25.8, but GLIB (2.24.1) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GLib. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system
[Code]...
Apparently there is an old version of GLIB on my system bugging my installation process. Does anybody know how to get rid of this old version?
I want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":
When i try to run pitivi i get the following message and it closes down. "Install a version of the GStreamer Python bindings greater or equal to 0.10.19" without the quotes.What do I need to do? Where is the deb package for gstreamer needed?
I've made a linux app that I'm porting to win32 winth MinGW and MSYS. It's a ticker app that reads then renders a text file to a pixmap (a tall single-line image), then it kind of scrolls the pixmap by drawing a part of it to a drawing_area, using gdk_draw_drawable() within a timeout handler set by g_timeout_add().
The problem is it works fine on linux (the scrolling is really smooth and that's the goal) but the win version is choppy and uses at least 90% of cpu resources (vs 15% with linux) like there is a big performance problem. And I'm not even sure that double buffering is set. Is it related to some mingw config or drawing_area stuff or gtk for win?
For some reason, my users are complaining that TRAC - our bug systems is throwing errors when looking for its module templates. These templates are usually built by Apache when it restarts or reloads and it puts them in /tmp/.python_eggs. I did a df-h and the drives had plenty of space, but the concerning thing is tmpfs shows 0% used.. We have not had a power outage or or restart in over a few months. I thought perhaps TMPwatch is clearing though, but there are no logged messages in the logs.
I need to install Trac on a server that's on a private development VLAN (no internet access). Obviously Trac needs to go out over the internet to download/install various things. Does anyone know of an RPM or tarball out there that I can use to install Trac without being connected to the net?
I have a python script I wrote a while ago and now I would like to call that script from inside C. I know how to do one command from C, but how would you execute an entire script from C, and passing arguments? Like:
I have decided to learn python as it seems to be powerful not just for web development (like php) but also a clean powerful language for other puposes.
Q: Can someone suggest a tutorial or book, on learning python (beginner to intermediate) which has as its focus for learning, web development?
In order of preference: 1. Comprehensive, 2. Online, 3. Free
I have a bash script that I want to import in to Python, mainly just to see if I can or not. However in the script I do use some piping of commands into sed to trim it down to what I need. When I tried doing it with the os.system() call, it didn't work. The exact error is
I am using Centos. I have written some scipts in python that access my routers and fetch the configuration, etc. Now i was thinking of creating a web interface which i can access from my windows XP. I want it to have good look n feel :-),