Fedora :: Python 2.5 On 12 Not Working
Feb 15, 2010I've got Fedora 12 and I need to install python 2.5. Without trhis version of python, very important program to me will not work - is it possible?
View 6 RepliesI've got Fedora 12 and I need to install python 2.5. Without trhis version of python, very important program to me will not work - is it possible?
View 6 RepliesI install yumex on fedora 12. but am getting error of "python".
python is already installed in my system python-2.6.2-2.fc12.i686 already installed and latest version
I've been using Ubuntu 9.10 fairly regularly on my home computer for a week or two now, dual-booting it with Windows 7. So far I've been quite happy with it, but yesterday something odd happened. I decided to copy all the music I had stored on the Windows partition over to the Ubuntu file system so that I could listen to it there. I have about 16 gigs of music mostly in .mp3 format, so I put the folder on an external hard drive, then logged into Ubuntu and copied it back from the external drive to my Music file.
Once the transfer was done, I opened the Music file and double-clicked on one of the .mp3s at random to play it. When I did this, a window popped up and the first half-second or so of the track played, and then the window closed and it stopped. This happened once or twice more with different .mp3s. The window didn't last long enough for me to get a good idea of what program it was for, but I assume it was Totem, which I hadn't yet run since installing Ubuntu, because according to the Properties->Open With tab of any .mp3 file, that's the default program to use to open .mp3s.
Attempting to run Totem from the Applications menu gives the same result, I later found. Attempting to run Totem from a terminal gave the following error:
andrew@Lovelace-Linux:~$ totem
** (totem:2323): WARNING **: Could not import pygtk
ImportError: No module named pygtk
Segmentation fault
Then, several other programs began having similar issues immediately after I first tried to play a .mp3 yesterday. Specifically, Rhythmbox - which I also hadn't used before, and next tried to use to play the music - will not start at all. Running it from the terminal gives:
andrew@Lovelace-Linux:~$ rhythmbox
** (rhythmbox:2338): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
** (rhythmbox:2338): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
(rhythmbox:2338): Rhythmbox-WARNING **: Could not import pygtk
ImportError: No module named pygtk
Segmentation fault
Note that pygtk is again referenced. The weirdest part is that other program that's having this issue, an IM client called emesene, is one that I had been using just fine, without issue, for several sessions previous. Since trying to play that .mp3, it now won't run at all. I tried removing and re-installing emesene, to no avail. Running it from the Terminal gives:
andrew@Lovelace-Linux:~$ emesene
Traceback (most recent call last):
File "/usr/share/emesene/Controller.py", line 21, in <module>
import gtk
ImportError: No module named gtk
This time the missing module is gtk, but I know that emesene is written in Python, which the earlier "pygtk" is perhaps a reference to. Thus, the connecting thread between all these programs, as near as I can tell, is Python.
This is the case. I run openSUSE 11.2 with GNOME. I want my desktop wallpaper to automatically cycle on a fixed interval. So I found this script (change-background.py), edited it to match my needs, and put it in my home bin directory. The script runs fine.
change-background.py
Code:
#!/usr/bin/env python
#
# change-background.py
#
#
[Code]....
Trying to learn python. Going well, but I have run into a minor speed bump. I wrote a simple program to see if Python was set up correctly. Wouldn't you know it, the thing pops open and then closes again. I put raw input fields there to stop the program, but they didn't work. The program is:
Code:
x = raw_input("Please input your name: ")
print "Hello " + x + ". Good to meet you."
raw_input("Press Enter to exit")
And as for python, I have installed the following packages. The program was made in IDLE using Python2.6 I just started learning python a few days ago, so this may be a really small mistake.
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.
[URL]
I have this regular expression
Code:
(@description ").*(";)
I want to match anything in between the quotes its working fine in JavaScript but its not working in my python program:
Code:
#!/usr/bin/python
# -*- coding: iso-8859-1 -*-
import re
[code]....
I want to be able to do
sudo ./program.py
instead of always having to do
sudo python program.py
What do I need to change?
I've already used line split stuff to transform my data into something like this in a text file:
Code:
['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']
[code]....
How can I get this on a python program so I can manipulate it as an array?
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
View 3 Replies View RelatedPython 3 want situation for python 2?Python 2 become stop?
View 1 Replies View Relatedyum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:
[Code]....
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
Code:
def blah(self, (string1, string2))
How can I upgrade python-2.4.3 to python-2.5?
View 1 Replies View RelatedI have this one last task for this app I've been working on (should have picked something easier for my first project)
It has working "def sav_scr_vars" and "def AddEntry" but these save to a fixed filename when save as defults or ok button is clicked. This is fine but I want to be able to save via the same proccess to a named ~/bin/settings/xxx.set file what I did is clone the to above def's and try to edit them I got the "read file" to work fine from a saved file in this manner. but I can't seem to get the save to filename to work without errors. The cloned def's are "save_as" and inmain.py "write_config2"
the camm2.defaults file goes in ~/.hpgl
copy and paste this to ~/.hpgl/camm2.conf
~/.hpgl/camm2.defaults
The file is always to have a .set extension and only read and write to ~/bin/settings
i want IDLE on my Fedora 15, is this possible?
View 2 Replies View RelatedI can't install Python 2.6 on Fedora 15 - I have only Python 2.7. Also I can't add EPEL repository to try to install: yum install python26 I didn't find any info about how can I solve this problem.
View 12 Replies View RelatedI used the Windows form of Python's IDLE for a long time and now that i have fedora, I only can get into the command line interactive. I have TKinter and a bunch of packages for it, so I don't think thats the problem, I just cant get into idle.
View 8 Replies View RelatedI am trying to install sqlite-python package in my FC11 machine. I couldn't find an rpm to install.
View 2 Replies View RelatedLately I have been getting a Python bug surfacing through my ABRT. The Python version is 2.6.2-2.fc12.
View 1 Replies View RelatedI'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.
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.
how can i install python 3 and idle in fedora 12? yum search for any plausible variation on python3 (python-3, Python-3.1, etc.) that i could think of yields nothing, same in add/remove software. so i got the tarball from python.org and followed book instructions on it (summerfield's python 3, p. 4), namely unpack it, run './configure', run 'make' and finally run 'make install'
in my add/remove programs window, for idle, it says i have the one for python 2.6 installed, but i can't find where to open the program. but i'd like to use 3.1.2 python anyway. additional note: if i type python -V i get Python 2.6.x (can't remember the last digit, i think it's 2), and if i type python3 -V i get Python 3.1.2. so, how do i get python 3 installed and idle for python 3 running?
I have IDLE installed with the Python-tools package, but when I run IDLE in command line, it runs python 2.6...I have python 3 installed, I'm just wondering how to tell IDLE to run Python 3. The reason I ask is because, if I go through IDLE, file>Path Browser, I see a lot of Python 2.6 files...but no Python 3 files. When i run yum install Python3 -
[root@Homecomp Legio]# yum install python3
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package python3-3.1.2-7.fc13.x86_64 already installed and latest version
Nothing to do
When I look for Python 3, I find it in /usr/bin/Python3, an executable file, along with 3.1, 2.6 and a link to executable 2. I have no files in /usr/local/bin. My question is...How do I tell IDLE to run Python 3 instead of 2? I just started using Fedora, so I don't have all the commands down yet. Have to say its a bit different than Windows...but in a good way so far.
Due to this problem, everything that uses python is not working.
/lib/librt.so.1: symbol pthread_barrier_wait, version GLIBC_2.2 not defined in file libpthread.so.0 with link time reference
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
I'M trying to install python on Fedora 13, 32 bit OS, 64 bit computer. Here are the instructions. On Unix, Linux, BSD, OSX, and Cygwin:
./congigure
make
make test
sudo make install
[Code]....
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.
View 3 Replies View RelatedI had some problems and had to upgrade my motherboard. I chose the same manufacturer and haven't had any major problems booting into Fedora 11. (I was totally amazed by this BTW).The only thing is that I have 8 GBs of memory in my computer and System-monitor now says that I only have 3.2. Lastly my nvidia driver which is working correctly, is giving errors about python at bootup. Something about glib being presentAnother weird thing is that GRUB will not let me interrupt it either during normal usage nor with a live CD loaded. This also started happening after I installed Fedora 11 on my old board.
View 9 Replies View RelatedI 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 Relatedafter updating to kde 4.3.3 PyQt4 updated to 4.6.2 since that eric is open with lots of errors and when i try to run apython script inside it the run fail
i reported a bug
https://bugzilla.redhat.com/show_bug.cgi?id=541982