Red Hat / Fedora :: Pdate Python2.4 To 2.7 Without Removin 2.4?
Jun 9, 2011Does anyone know how to update python2.4 to 2.7 without removin 2.4
View 3 RepliesDoes anyone know how to update python2.4 to 2.7 without removin 2.4
View 3 RepliesI would like to install wxpython2.8 for python2.5, which I installed as an alternative version in the presence of the standard python2.6 using xubuntu 10.04 lucid lynx (see the end of this thread for how I did it).how would I do this without the installation going for the standard 2.6 version? I found some notes to that on the web:
[URL]
I tried those, but somehow my wxpython installation got borked and would not do anything afterwards.
I am driving Fedora 12 and need to test an application GUI with Python 2.4, 2.5 and 2.6. Python2.6 is native in F12 at /usr/lib... and I have alt-installed 2.4 and 2.5 at /usr/local/lib... Site-packages directories for 2.4 and 2.5 are empty. I have tried different tricks to install gtk-2.0 and pygtk in the site-packages of 2.4 and 2.5. But could not find a working solution.
My latest trial was to download Fedora 7 live and copy from its python2.5 gtk-2.0 and pygtk.* to F12:/usr/local/lib/python2.5/site-packages. Results were as follows:
Python 2.5.5 (r255:77872, May 13 2010, 17:15:51)
[GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
Traceback (most recent call last):
[Code]...
I am trying to write a gui app with python2.6.4 and wx on win XP. I am attempting to resize an image with Imagemagick from within the program using os.popen and os.system in a thread.
Code:
os.popen("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
orCode:
os.system("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
they both work as far as resizing the image but when os.system is used a command shell opens during the mogrify and when os.popen is used the command shell does not show but the rest of the program freezes until mogrify is done.
I would prefer that the program did not freeze during this process and the command shell did not show.I have tried using wx to scale the image but the scaled image looks crappy.anyway is there a way to use os.system and not have the shell show?
I try to install ultamatix on my ubuntu 10.04 system and i come up with the same error every time:
Error: Dependency is not satisfiable: python2.5
what do i do to successfully use ultamatix
So far, I have done all the steps (including creating django.wsgi in the project). The step left is to turn on the httpd, but error put exit in this very last step.
Code:
<user> #: ./apachetrl start
httpd: Syntax error on line 450 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
When executing different programs varying from the Ubuntu Software Manager to pstotxt and lots of other programs I get tons of errors that have to do with Python2.6, whatever it is. I think it got corrupted since my netbook turned of while installing some (Dutch) language packs.The smaller problem, is that the language packs failed to install properly, and I can see some Dutch sentences between the English ones sometimes...The major prolem, is that somehow a lot of programs won't work anymore, mainly terminal programs. pstotxt is one of any examples. Installing software doesn't always work because of these errors.
This is the output when I want to use pstotxt to convert a .pdf to .txt file:
Code:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 8, in <module>
import CommandNotFound
File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
from CommandNotFound import CommandNotFound
code....
So I've been looking to try out Airpwn, but it seems to only run with Python2.4. Natty, buy default uses Python2.7, and Airpwn will not compile with it. Python2.5 is the lowest in the repos. I tried just downloading Python2.4, and doing the "./configure, make, make install" dance, but I end up with
Code:
root@L1NUX:~/Python-2.4# make
[...code snipped to save space...]
Aborted
make: *** [sharedmods] Error 134
install Python2.4 on Natty? Any method will do fine. If you have a .deb that would be even greater. Anyone who's been able to run Airpwn on something other than Python2.4 is also welcome to tell me their solution. (There used to be a .deb for Airpwn itself, but it seems one was never made for Natty.)
I am using swig framework to invoke certain C APIs in a C Library from a python program. Unfortunately the python software needs to run on a 64 bit virtualization platform, whereas the C library is 32 bit (its a 3rd party library whose 64 bit version is not available). Lets say the name of the swig generated shared library is _my_swig.so. When the python wrapper makes "import _my_swig" call, i see the following error
ImportError: -snipsnip-/_my_swig.so: wrong ELF class: ELFCLASS32
which probably means I am trying to import a 32 bit library from 64 bit python. Can anybody suggest any workaround?
When I run the install of 'Gmail Backup' (from URL...) an error msg appears stating that I must have python2.5 - I presently have python2.8Is there any way to solve this without destroying my Slackware 13.37 installation?
View 6 Replies View RelatedI'm relatively new to Ubuntu and these forums. I ran rkhunter, and saw this warning in the check for backdoor ports: [14:45:09] Warning: Network TCP port 32982 is being used by /usr/bin/python2.6. Possible rootkit: Solaris Wanuk Use the 'lsof -i' or 'netstat -an' command to check this. I also saw these warnings toward the bottom:
[Code]....
I was wondering first of all about the first warning, the port. I have a feeling that the second set of warnings are false positives, but I would be open to thoughts on that as well.
I installed tinyos-2.x in Ubuntu lucid. I tried to simulate tossim environment for simple Blink application using the command: make micaz sim and ended up with the following error:
mkdir -p simbuild/micaz
make: python2.5-config: Command not found
make: python2.5-config: Command not found
make: python2.5-config: Command not found
and
Python.h: No such file or directory
and
make: *** [sim-exe] Error 1
Eventually installed python-old-doctools package which supposedly includes python2.5-config package but alas! It doesn't compile yet.
I have the following issue:
Running
Code:
results in above error.
Running
Code:
results in above error.
Running
Code:
Is not able to fix this.
I'm trying to extend Python with C but when I compile this message is displayed:
[Code]...
I have already installed python2.6-dev and I have Python.h in the dyrectory /usr/include/python2.6/Python.h.
I just wanted to upgrade to fedora 11 from the current version 5 with the of a live cd.I dont want to loose the previous configuration files. upgrade everything except the / directory. How do you do that? I also have a retarded WINXP partition on the same drive which I dont wanna loose.
View 9 Replies View RelatedIs it possible to import an xorg.conf file from Debian to Fedora and have it work? The reason for this is that I have an older monitor that only offers 800x600 as the maximum resolution.
View 2 Replies View Relatedinstall of Fedora, always used Debian or Ubuntu before now, and am looking for versions of localepurge, deborphan and debfoster - do they exist in the Fedora Software Repository?
View 10 Replies View RelatedI have a Samsung N130 with a Realtek 8192 wifi card (possibly 8192e, I'm not sure) and I am trying to run Fedora 12 on it. I used to run Ubuntu until trying their latest beta and realizing it's not very good, so I looked for something else. Ubuntu was at least easy to get the wifi working with just a few quick commands that were written out, word for word, in order, on the Ubuntu forums. I tried openSUSE on here and it didn't have wifi working out of the box either but people on their forums refused to give me actual instructions and just kept bumping me from thread to thread with people giving vague advice or else just telling me I was looking in the wrong place. I'm hoping that someone can give me clear and detailed instructions on how to get this wifi card working. Keep in mind that I am coming from Ubuntu and so I'm not super comfortable in CLI, if I need to do some CL stuff I will need clear and detailed instructions on how to do that.
View 4 Replies View RelatedI am newbie to linux, I am dealing with Fedora core 13. I have already succeedded in building an ad hoc network and a WLAN network. My next step is to get some networking statistics such delay, throughput, etc. So, I need traffic to flow through the network for both multimedia traffic and bulk data traffic. How to send files between nodes on the network (I found commands ftp, rcp but do not know whether they are the correct choice for this). ID their any application to perform this?
Also, I want to perform some video streaming between two nodes to study the behavior of real time data transfer. Is thier any application to perform this?
My laptop is currently running on Windows 7 Ultimate. I have a 320 GB HDD, which I have partitioned as follows. C: Drive as Windows 40 GB capacity and successively partitioned the rest of the drives for 50 GB capacity and left an unallocated space of 67 GB for fedora 13 x64 installation. The problem that I am facing is, that I am unable to install fedora on this unallocated space..even though I am checking the option for "Creating custom Layout". When I check the option for "Creating Custom Layout" Ive been shown with the only option to install fedora on the unused space on the HDD which is around 265 GB. I am also attaching a screen shot of my disk management. how I can install Fedora on this unallocated space of 67 GB?
View 12 Replies View Relatedmy problem is inkscape-0.48.0-1.fc14.3.src.rpm in fedora 14 64 bittry rebuild --source inkscape-0.48.0-1.fc14.3.src.rpm and this my error:I think something wrong pkgconfig .
attributes.cpp:20:32: fatal error: glib.h: No such file or directory
compilation terminated.
arc-context.cpp:21:28: fatal error: gdk/gdkkeysyms.h: No such file or directory
[code]....
This post is for an HP parallel printer but I think it should work for at least "some" other parallel printers.I am sure that someone smarter than me will follow up this post with a "well, just do this and that" and you will have your HP Laserjet 6P printer ready to go, but since questions litter the forums of MANY distros on how to get "at least" an HP parallel printer to work, I'll post this anyway.This may or may not work for you if you do not have an HP but you can try it.The install printer box will let you do an install for an HP Parallel and it asks for how it is to talk to it, through CUPS sock or "local host'. When we get through what I recommend you should chose "local host".
View 2 Replies View RelatedI am using F10 desktop edition, all the computers using windows are able to access the shared folders over lan except me using F10. I have tried many things with smb but still unable to connect.I am new to linux so i dont khow much of its technicalities.kindly suggest how can i be able to access the shared documents ..
View 1 Replies View RelatedI'm setting up my first Linux install and I was wondering if I would be able to boot Fedora from a CD while keeping every other file on my computer, or in other words if I would be able to put the /boot partition onto a cd. I've also read that Linux can be booted entirely from a logical partition. If that's true then can anyone help me in setting that up. Mostly my problem is I already have four primary partitions, one being a logical drive with plenty of free space in it, and I can't get rid of the primary partitions I already have.
View 1 Replies View RelatedHow to make internet sharing in Fedora with two inputs & one output.
View 14 Replies View RelatedHow can I access shared Windows files from a fedora system
View 3 Replies View Relatedok so the router works in windows and i know the config details of it.i can see other wifi access points in the area but not my one. i have tried joining it as a "hidden network" to no avail.is there any reason why fedora would not detect my own wifi when it detects substantially weaker signals instead??
View 2 Replies View RelatedIf any of you have successfully created a video hosting server with Fedora, can you give me any ideas of what software to get and how to configure it and so on? Or, if you have been unsuccessful, can you tell me what doen't work?
View 1 Replies View RelatedLinux OS : Fedora 10 (No graphical mode)Windows OS : XP and Windows Server NT...I am able to access from my windows to linux using following step//fedora10 ip username of admin and password...I am able to view the admin and shared printer of fedora 10.When i try to enter in the admin folder i am not able to access it. It is giving error "Access is denied".
View 6 Replies View Relatedi am justin i'm 17 years old and new with linux, i use ubuntu and linux mint 7 and a friends of my has a dedicated fedora server. he asked me to intall a desktop manager ( or something that is the same, dont know how to call it ) so he could use remote desktop to acces his server
i have connected the server trought ssh and i am in the terminal. Now i want to install kde or gnome so i and my friend could use the server as a mail en WWW bla bla bla server. and my question is how i need to do that i tryd : yum groupinstall "KDE (K Desktop Environment)" and yum groupinstall "X Window System" but none works i have seen those commands on this forum so i tryd it.