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
ADVERTISEMENT
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
View Related
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
Jul 19, 2011
Is there a native Linux application that can interface with mint.com? I like the website, but I would also like to have that information stored locally so I can view it anytime, even if I am not online. Also, is there anyway I can just bypass mint.com altogether and enter in all of my accounts directly and have it periodically update their information?
View 1 Replies
View Related
Jul 31, 2010
I am exploring the Python 3 standard library and am currently attempting to test the bin function. It converts an integer into a binary string. I believe the module I wrote is flawed somehow. Here's the source code:
Code:
#!/usr/bin/python3.1
#This module tests the bin() function.
import sys
def get_input():
x = input("Enter an integer: ")
def use_bin():
[code]....
As you can see, the binary form given is always 0b10111. I'm no expert on binary code (or hexadecimal notation), but surely 9000 and two would have different results?
EDIT: Added a line in the module to repeat back what integer the user entered, and then the binary form. It would appear that no matter what integer the user enters, Python thinks it's "23".
Example output:
Code:
>>>
Enter an integer: 1
You entered 23
The binary form of this integer is 0b10111
>>>
View 3 Replies
View Related
Jun 9, 2011
Does anyone know how to update python2.4 to 2.7 without removin 2.4
View 3 Replies
View Related
Mar 15, 2010
I am trying to install mysql 5.1.44..so i downloaded the binary package, i extracted it and then followed the instructions that were in the manual but i keep getting this error when running this command
Code:
scripts/mysql_install_db --basedir=/home/mosty/mysql
the error is
Code:
Installing MySQL system tables...
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
[code]....
You can try to start the mysqld daemon with:
shell> /home/mosty/mysql/bin/mysqld --skip-grant &
and use the command line tool /home/mosty/mysql/bin/mysql to connect to the mysql database and look at the grant tables:
shell> /home/mosty/mysql/bin/mysql -u root mysql
mysql> show tables
View 1 Replies
View Related
Dec 7, 2010
I was trying to run the testusb test application in my Ubuntu pc. I have plugged a USB stick into my PC. and ran "testusb -a". But it says like "no test devices recognized". Here is my /proc/bus/usb/devices
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
[Code].....
View 4 Replies
View Related
Apr 8, 2009
I have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).
The questions are:
1) I am trying to test antivirus scan using eicar test virus
Code:
And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using
Code:
Where is my mistake?
2) Should I update clam and how I can do it?
3) Is spamassassin enabled by default in amavis (I have started daemon)?
4) Where configuration files of spamassassin is stored?
View 1 Replies
View Related
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
Apr 7, 2010
In my work, I must use many different computers with Windows XP. On my home Linux computer, I'm writing some very simple software in Python (with Tkinter) that will make my work more efficient, which I'll use if I can find a way to get Tkinter to not look so ugly (it is for presentations).
It wouldn't be appropriate for me to ask the tech staff to install Python on every machine, but as it has some kind of "delete everything after reboot" software, they never seem to mind when other people (non-employees) put software there temporarily. Can I somehow burn Python + my software onto a CD, so I can quickly run it on any XP machine that I must use?
View 1 Replies
View Related
Sep 27, 2010
How do I kill a python application from the command line? For an example I have 2 applications running. The first is bleachbit and the second is furiusisomount. They are both python applications so they both come up as python under process name. I could kill them by ID number but if there was another way to do it so that it could be automated in a bash script.
View 9 Replies
View Related
Apr 8, 2011
I want to make an application that will update my facebook status. How can I make that ?
View 7 Replies
View Related
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
Jan 17, 2009
I downloaded from [URL] files FC-6-i386-disc1.iso through FC-6-i386-disc5.iso from windows vista with get right. I checked the files with sha1sum.exe and the numbers are correct. I burned the cd's with roxio creator de. Then I go to the other computer and start the installation and at the beginning there is an option to test the cd's before installation proceeds. All cd's tests fail. So I would like to be sure: Have I been buying bad cd's? Note: I have tried 15 cd's, all failed.
View 14 Replies
View Related
Dec 10, 2009
Headphone plugged in the front and the mixer master channel is set to "headphone". System Settings -> Multimedia is set untouched. And the installation configured (in order):
- HDA Intel (VT1708B Analog)
- PulsAudio Sound Server
- Default
Opening System Settings -> Notifications and playing a sound works fine.
Opening System Settings -> Multimedia and hitting the test button: no sound.
Junk: no sound
Amarok: no sound
Why is it that the notifications work (without pulse) but anything else fails? How can I get it to work?
View 2 Replies
View Related
Mar 4, 2010
The disk I obtained from a seller runs fine in live mode (no installation) on my Windows XP. I liked what I saw. However, when trying to run cd live on my Linux PC it won't run. Linux pc currently has Kubundu 9.1 installed. Previous to that I had Mint 8 installed, but again Fedora 12 cd would not run. After getting an initial Fedora startup screen, I next receive a bunch of text, ending with a text screen of about 30 lines with "OK" in green to right of each line. At bottom is blinking cursor. That ends my machine's live running of cd.
Obviously, if I can not get cd to run live on linux pc, I'm not going to be able to install. (I should add that ubuntu, kubuntu, mint 8 and pclinuxos all ran successfully live on machine and three of them were installed successfully.) Perhaps, Fedora is at war with Ubuntu et al.
View 1 Replies
View Related
Dec 10, 2010
I've followed leigh's installation instructions for the nVidia drivers on Fedora 14, and everything seemed to go smoothly, but I don't see any obvious changes after rebooting (should I?).When I go to KDE's KInfocenter (KMenu -> Applications -> System -> Info Center) and check the driver information I see this:
Code:
Vendor Mesa Project
Renderer Software Rasterizer
[code]....
View 2 Replies
View Related
May 7, 2010
I get an error when trying to install python-virtualenv package:
Quote:
# yum install python-virtualenv
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
[Code]...
AFAIK, python-virtualenv package does not really require any development packages (at least in ubuntu, debian, opensuse). Is it a bug? I didn't find anything with search engines...
View 6 Replies
View Related
Nov 27, 2010
I'm encountering a python error in the beginning of the upgrade. See screenshot. How can this be solved or should I indeed file a bug report? Problem is that except for taking the picture, I've been unable to save the info.
View 3 Replies
View Related
Nov 17, 2010
I'm trying to upgrade, but have this issue: usually I download the DVD iso, run checksum, burn it, test the disk, and when found ok, I run the upgrade. Now, however, I keep getting "disk not ok" at 95% of the disk test. I have downloaded and verified the iso twice, used 2 DVD's, 2 different DVD-drives, 2 different computers and keep getting this error at 95%.
View 2 Replies
View Related
Mar 17, 2010
I upgraded from F11(x86_64) to F12 with no reported errors. (expected an update session to follow, but it didn't.)
Tried a manual "yum update" and it aborted with a notice that libssl.so.8 was not found (required by python-2.6.2). I didn't find anything useful at wiki.linux.duke.edu/YumFaq.
The DVD installs python-2.6.2-2 (8/21/09) and openssl-1.0.0-0.10.beta3 (10/16/09). /usr/lib/libssl.so.10 is a symbolic link to libssl.1.0.0. libssl.so.8 is not found, really.
I thought of replacing openssl with one from F11 but it was required by too many packages - couldn't remove.
I tried to find a later rpm of python, but couldn't locate any Fedora directories with individual packages.
I've searched the web and the forums. What am I missing?
View 3 Replies
View Related
Jun 22, 2011
Strange one. Just upgraded my mother-in-law's computer from 8.04 to 10.04 via the update manager. All seems to be working beautifully except ...
* When I run gstreamer-properties and do an output test I get a test sound through the headphones plugged into the front audio socket of the machine using the 'Analogue Headphones' setting in Sound Preferences. (This rules out dead headphones.)
* When I try to play audio through any app I get no sound through the headphones, but if I change the setting to 'Analogue Output' in Sound Preferences I get audio loud and clear through the speakers which are plugged into the audio socket at the rear of the machine. how the gstreamer-properties test is getting audio to the front socket I guess I'd be getting somewhere.
View 2 Replies
View Related
Jan 3, 2010
Currently I am running Ubuntu 9.04 on my computer, and it is the only OS installed. I purchased the $30 student WIn7 Professional upgrade. I have a XP Pro CD + Key, and I plan on using that just to upgrade to Win7. I love Ubuntu and it is my primary OS, it is just that every now and then you come across some program that requires windows (Propellerhead Reason 4, Adobe Photoshop CS4, Atomix Virtual DJ etc.) and it requires full system resorces so you do not want to use wine. I love Linux, but somtimes I just have to use WIndows, so I do not want to hear any arguments about that.
I want to do a clean install of everything, and I have data + programs backed up, I would like to install Ubuntu 9.10, WinXP Pro and I want to Upgrade XP Pro to 7. I am completely new to GRUB 2, and upgrading windows; but I have experience with Linux and Windows, and dual booting. I would like to install Ubuntu 9.10 on its own partition (No WUBI), and WInXP + Win 7 on there own partitions (3 Partitions Overall). I would like to know what to do at this point, Should I install Ubuntu then Xp then 7, Xp then 7 then Ubuntu, etc. I know how to make Partitions, I just need to know the order in which I should install the operating systems, and how to get it to dual boot.
MY COMPUTER:
I had a Sony Vaio PCV-RS530G, and the mobo failed, so I rebuilt it, the case, processor, fans, CD/Floppy drives, TV tuner and power supply are unchanged, everyhing else has been replaced, here is the breakdown:
Proecessor: Intel Pentium 4 3.20 GHZ, HT Technology, No 64-Bit or VT-x
Motherboard: Biostar P4M900-M4
Hard Disk Drive: Seagate 1TB SATA (IDE Mode, no RAID)
Graphics Card: Nvidia GeForce 8400 GS, PCI Express, 512 MB RAM
RAM: 2 GB Corsair, DDR2-5300
1) How can I install all the screen savers that were in Jaunty, but are missing in karmic?
2) Can Win7 be installed without a key, and then have the key entered later (I AM NOT PIRATING, I JUST WANT TO PUT THE KEY IN AND ACTIVATE AFTER I CAN TEST OUT EVERYTHING AND MAKE SURE THAT WINDOWS AND UBUNTU ARE RUNNING SMOOTHLY)
3) Will XP mode in Win7 work on a processor without virtualization technology?
4) I have Icon sets, cursors, window borders, and panel backgrounds from different sources, can I export this as a complete theme in 1 file (Deb Packages are preferable, but even a tar-ball is fine) so I can install it easily on more machines, and share it with friends?
5) How do you use native windows DLLs in WINE?
6) My PC has a tv tuner, how do I use it in Ubuntu?
7) What is a good size for a swap partition for my computer (Detailed information below)?
View 5 Replies
View Related
Dec 14, 2010
I am planning on installing Ubuntu on my new laptop with a native resolution of 1920x1080 however the install disc (I booted into the "test") part, sets my resolution to 2048x1536.Keeping it on 2048x1536 cuts off about 50 pixels on the right side of my screen so it must not be right. So I tried changing it from the "Monitors" settings back to 1920x1080 and everything is so large and it is stretched horizontally. Is this just because I'm running the "try me" part, or is there something wrong with Ubuntu and my video card?
Product:US-VPCF1290X-LBOM
Component: Standard capacity battery
Component: Inteli7-740QM processor (1.73GHz) with Turbo Boost up to 2.93GHz
[code]....
View 4 Replies
View Related
Feb 3, 2011
I believe printers and printing are 2 most retarded things on this planet, completely useless and unnecessary.I haven't had one and never needed one, until now, as in my little retarded country bureaucratic and accounting reasons forced me to buy one, as I have my own company (and I really really hated to do it, but...) Whatever, I got Samsung SCX-4623F (and I will hate myself till end of my life to buy such retarded device), and now I can't seem to figure out how to get it started in Fedora 14. I dont need scanner, just printer. Naturally, there are no native drivers for linux, and I have cups installed and Printing tool in System->Administration doesnt do anything.
View 8 Replies
View Related
Sep 7, 2011
im trying to install a native version of spotify. Trying to use wine a little as possible. For now i only want to use utorrent with wine, cant live without it im having a hard time to install spotify on my system, i looked hard everywhere for a .rpm version to install. But couldnt find one. I googled and found out that im not alone with this problem, a lot of people talked about a program called "alien" that can convert the .deb version for debian and ubuntu. Tried to install that one but without success. I tried with theese two:
[Code]...
View 2 Replies
View Related
Jul 2, 2009
I have seemed to work out all bugs in pulseaudio except 1. When pulseaudio wakes up it stutters for a few seconds and then plays fine. I ran pulseaudio -vvv in the terminal and found that it was an underrun and got this message.
Code:
protocol-native.c: Requesting rewind due to end of underrun.
View 4 Replies
View Related
Sep 20, 2010
To install XRDP server do
[code]...
To connect server use mstsc.exe in windows, rdesktop in linux - if you do not have it yum install rdesktop. But if you use different from english localasation of fedora, you will see only english Gnome and instead of your local fonts in terminal
[code]...
Now you can use fedora RDP session with your native language.
View 2 Replies
View Related
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