Ubuntu Installation :: Wxpython For Python2.5 In Presence Of Python2.6?

Dec 21, 2010

I 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.

View 4 Replies


ADVERTISEMENT

Ubuntu Installation :: Tossim Execution Error - Python2.5 Config Not Found

Aug 3, 2010

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.

View 4 Replies View Related

Fedora Installation :: Test An Application GUI With Python 2.4, 2.5 And 2.6. Python2.6 Is Native In F12?

May 21, 2010

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]...

View 2 Replies View Related

Ubuntu Installation :: Dpkg - Error Processing /var/cache/apt/archives/python2.6-minimal_2.6.6-5ubuntu1_i386

Oct 16, 2010

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.

View 2 Replies View Related

Programming :: Write A Gui App With Python2.6.4 And Wx On Win XP?

Feb 25, 2010

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?

View 2 Replies View Related

Ubuntu :: Error: Dependency Is Not Satisfiable: Python2.5

Jun 13, 2010

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

View 2 Replies View Related

Red Hat / Fedora :: Pdate Python2.4 To 2.7 Without Removin 2.4?

Jun 9, 2011

Does anyone know how to update python2.4 to 2.7 without removin 2.4

View 3 Replies View Related

Ubuntu :: Lots Of Errors / Python2.6 / Import CommandNotFound?

Jan 13, 2010

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....

View 3 Replies View Related

Ubuntu :: Install Python2.4 On Natty (for Airpwn) Error 134?

Aug 17, 2011

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.)

View 2 Replies View Related

Ubuntu Security :: Warning: Network TCP Port 32982 Is Being Used By /usr/bin/python2.6

Mar 30, 2011

I'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.

View 9 Replies View Related

OpenSUSE Install :: Setting Up The Apache2.2.6 And Mod_wsgi3.2 And Python2.5.4

May 8, 2011

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

View 2 Replies View Related

Software :: Importing 32 Bit Swig Library From Python2.4 On 64 Bit Machine?

May 10, 2011

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?

View 3 Replies View Related

Slackware :: Trying To Install 'Gmail Backup' But It Requires Python2.5

May 9, 2011

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 Related

Ubuntu :: Error "Python.h: No Such File Or Directory" Yet Have Installed Python2.6-dev

Mar 3, 2010

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.

View 2 Replies View Related

General :: Installation Of Wxpython Source Returns - Error

Jan 19, 2010

I am trying to install wxpython from source package when ran ./configure command it came up with a strange message which says

Code:

Code:

View 8 Replies View Related

Ubuntu Installation :: Does Not Detect The Presence Of CdROM

Jun 8, 2011

I have just had my Ubuntu 10.04.2 Luci installed under my Windows OS. Things seem to be fine until I find out next that my copy of Ubuntu does not detect the presence of the cdROM which installed the software itself on my desktop machine.

I have tried searching high and low for clue in this forum, tried all the recommended tricks to find out at last that there is no cdROM listed under my DISK UTILITY and when I input the following comman,

sudo lshw -class disk -class storage I only happened to see my hard drive and some USD drives being listed.

Also, Brasero Disc Burner does not detect the presence of a cd/ DVD rom devices.

View 2 Replies View Related

Ubuntu Installation :: 10.4 Won't Boot In Presence Of Gentoo Drive

Nov 10, 2010

I've taken the plunge and embarked on my very first install/congifuration of Ubuntu. I've successfully installed 10.04 from the LiveCD onto a brand-new 500 GB hard drive. It boots fine. At least, it did until I reconnected another hard drive that contains a Gentoo system. (I had unplugged the Gentoo drive during the installation so as not risk mucking it up).In the presence of the Gentoo drive, the Ubuntu system starts to boot, but then fails with an a error that it's unable to mount /var.Investigation (df -k) indicates that it's mounted one of the parititions on the Gentoo drive. If I unplug the Gentoo hard drive, the Ubuntu system agains boots properly.

I have no idea why the 10.04 system even sees the other drive, much less mounts one of its partitions.My intent, once migrating to Ubuntu, was to copy needed user files and data from the old Gentoo system, then repartition the drive and use it for additional Ubuntu storage. Seems I can't get there from here.Is there some feature in Ubuntu that causes it to go looking for any other drives accessible on a system and then go about mounting random partitions?

View 3 Replies View Related

Ubuntu Installation :: Upgrading From Hardy To Karmic In The Presence Of RAID?

Jan 24, 2010

I really want Python 2.6, which is not part of the standard Hardy packages. I just tried installing the Python 2.6 Linux distro direct from python.org. While I didn't see any error messages during the installation, I'm still defaulting to Python 2.5, and 2.6 installed to a different folder than 2.5.

A secondary wish: I would also like GROMACS 4.0 instead of 3.3. Again, Karmic has it as standard, Hardy doesn't.

I'm running dual hard drives in a software RAID1 configuration. My system is Linux only, so I have no Windoze compatibility issues to worry about.

Still, I've gathered that upgrading in the presence of RAID is different, and more problematic, than a standard upgrade.

View 1 Replies View Related

Ubuntu :: 11.04 WXPython Errors In Editra

Jun 21, 2011

I've recently upgraded to natty narwhal and made a clean install of many programs. For the most part, only a few programs needed any real fixing. Editra, however, does not seem to launch, and it looks to be a wxpython error:

Code:
Traceback (most recent call last):
File "/usr/bin/editra", line 79, in <module>
main()
File "/usr/bin/editra", line 74, in main
import Editra
File "/usr/local/lib/python2.7/dist-packages/Editra/src/Editra.py", line 59, in <module>
import profiler .....

I'm have the latest version of wxpython, python setuptools, and editra itself.

View 1 Replies View Related

General :: How To Set Default Version Of WxPython In Ubuntu

Jan 26, 2011

I have installed wxPython on my Ubuntu 9.10. But when I type "import wxPython" in "python environment it returns the following error.It tries to run the previously installed one not the new one. (The new version is 2.6).Does it need a PATH to be added in ".bashrc"? If so what should I write as a PATH for it?

View 3 Replies View Related

General :: Set The Default Version Of WxPython In Ubuntu?

Jan 26, 2011

I have installed wxPython on my Ubuntu 9.10. But when I type "import wxPython" in "python environment it returns the following
error.

Does it need a PATH to be added in ".bashrc"? If so what should I write as a PATH for it?

------------------------------------------
>>> import wxPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>

[Code]....

View 1 Replies View Related

CentOS 5 :: WxPython Fails To Import After Upgrade To 5.5

May 20, 2010

Wanted to double check if I've done something stupid in my update, or whether this is a known issue.

$ python
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in ?

[code]....

View 1 Replies View Related

Ubuntu :: Win7 - Dual Boot Drive Presence

Jan 3, 2011

Win-7 Ubuntu Dual Boot, Drive Presence Issue I recently built up a new computer and set it up for dual-boot with Win7 and Ubuntu. Initially I had some issues with the boot management but I discovered that GRUB works well and Paragon's Partition Manager does not. I reloaded Ubuntu using GRUB and got the system working exactly as I would like it to. Several weeks later I volunteered to assist my brother-in-law's family with getting their Unbutu system working properly with a new Brother MFC295CN printer. I brought the printer home so that I could work with it on my system.

I did get the printer to work correctly but in the process I had to reload Ubuntu because I made a few mistakes on my way to success. When I reloaded Ubuntu, I accidentally loaded it onto my system's second drive, drive F. Before, I had Ubuntu in a partition on drive C. Ubuntu works from the F drive and GRUB allows me to boot either Win 7 or Ubuntu, as desired. I will note that the earlier version of Ubuntu on drive C has been removed although the partition is still there. GRUB shows entries for this second copy of Ubuntu along with Win 7 and the entry for the functioning Ubuntu OS.

Here's where I am getting into trouble. Initially, everything looked fine. Win 7 worked, Ubuntu worked. Then, after a reboot to Win7, I noticed that my F drive was missing. I searched all around the system controls, tried loading new hardware, etc, etc, but the drive did not show up anywhere. Rebooting into Ubuntu showed that the drive was in fact still there and all the date in the large data partition was still there. Using Ubuntu's partition manager I discovered that the data partition was not enabled. I enabled the partition and rebooted back into Win7. No go.

The F drive was not present. My next step was to try Paragon's Partition Manager software, which I have a paid-for copy of. It would not see the F drive either. Using the Paragon recovery disk I had made earlier with the Paragon software, I restarted the system. The recovery software saw both drives correctly and the partitions were set up correctly. I ran the boot corrector software but I did not mess around too much as earlier experience had indicated that some of the Paragon features do not work well with Ubuntu. I shut down and rebooted into Win7. Success! The F drive was there.

But later, when I restarted the system the F drive was gone again. I tried a few things then rebooted using the recovery disk again. As before, on the next restart the F drive was present. I didn't take the time to reboot the system twenty times, but it seems apparent that something in the boot records is preventing Win7 from seeing the F drive correctly unless I boot from the Paragon recovery disk and then boot Win7.

No knowing a lot about what goes into a boot record and how either GRUB or boot.ini manage things, I am at a loss as to why I'm seeing this inconsistency with the F drive. A probable solution would be to remove both the second (old Ubuntu) partition on the C drive and the Ubuntu partion on the F drive and reload Unbutu all over. This would put me back to where I was in the beginning. However, this seems a bit inelegant as all the other attributes of the system are working well, is there a better way to address the problem?

View 3 Replies View Related

General :: Hide The Presence Of A File By Modifying The Gid/uid?

Jan 8, 2011

Whether we could hide the presence of a file by modifying the gid/uid?

View 1 Replies View Related

Programming :: Read The Presence Of A Blank Line In Gcc?

Apr 20, 2010

in gcc how to read a blank line ie a string of length 0.

my code: Code:
#include<stdio.h>
#include<string.h>
#include<string>
using namespace std;
[Code]....

View 4 Replies View Related

General :: Find Qlogic NIC Card Presence?

Jul 5, 2011

We had a problem with the NIC 10Gig Qlogic NICs and had to swap them with Emulex 10Gig NIC cards. The swap has been done. There are several severs (about 100)for which we need to check if the hands-on still left the q logic card in them. So, I wrote a script using dmesg and grepped for "qlogic" or " NC522SFp" and my script checked for all the servers and returned no presence of "qlogic". But few of them have q logic still in them. So, is there any other way through which we can exactly tell whether q logic card is still present or not? I used:

dmesg | grep -i "qlogic" or
dmesg | grep -i " NC522SFp"

and found nothing in the o/p. But when I checked using ifconfig -a, then I see the q logic mac ids for eth4 & eth5, which means the Q logic is still present.But not sure whether ifconfig is the real way to find out the presence of these cards.

View 1 Replies View Related

Programming :: Sed Terminated Prematurely By Presence Of C In Input

Jun 17, 2011

Sed seems to react to the presence of "" in its input if the immediately following character makes the pair a recognizable code. In the code following see that the "a" and "" are missing in the output, and that the "c" caused sed to terminate at that point. Is there any way to prevent it reacting like this?

Code:
g y="the shell built-in command. The following character sequences
> have special meaning:
> a Alert (bell).
>  Backspace.
>
> c Suppress trailing newline.
> f Form feed.
>
[Code]....

View 3 Replies View Related

OpenSUSE Hardware :: Keyboard Presence Not Recognized At Boot?

Jun 19, 2011

Increasingly over time, i.e., days I experience that the keyboard (and mouse) is not recognized when booting.Now it's every time I boot. However, there is a fix. If I plug out, and immedeatly plug in again the keyboard connector everything is fine, except that keyboard short cuts not always work depending on application. In the mouse case the right mouse button doesn't respond either. Besides these effects the system, openSuSE 11.3, boots fine. It's a hazzle everytime to plug in and out again. I'm opting for another fix. Nothing suspicious in /var/log/messages. I've tried to see if there is a particular led light sequence on "num lock", "Caps lock", "Scroll lock" that I can get som info from, but I haven't been successful.Anyone got a suggestion to what might be the cause of this behavior?

Keyboard is kwd-205
Mouse is Microsoft wheel optical mouse
Base Board Information

[code]....

View 5 Replies View Related

General :: How To Check For Presence Of Internal Bluetooth Device?

Sep 24, 2009

Can you please do me favor and let me know how can I check for the presence of inernal (built-in) Bluetooth device on my Linux server ?

View 1 Replies View Related

Programming :: Check The Presence Of USB Using /proc Interface In A C Program

Feb 22, 2010

I want to check whether a USB is plugged in its slot from a C program. I want to make use of /proc interface for the same. During my reading i found that /proc/bus/usb/devices will tell how many USB devices are currently present.

So whether i can open this file and use stat call to identify whether the size is 0. If size is 0, i can assume no USB present. Else i can assume USB is present.

Whether my understanding correct. If USB inserted, how can i check the folders present in the USB stick.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved