Fedora :: How To Tell IDLE To Run Python 3 In Core 13
Sep 24, 2010
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.
I 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.
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've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
my laptop fan was blazing like crazy for a while with only firefox and pidgin open. and even after closing firefox, it still continued. i took a look in htop, and appears that python is sucking 100% of 1 of the two cores all the time. it occasionally swaps core, but it always keeps 1 core completely occupied. i'm currently on lucid x64.
I have created a virtual machine of a system running Fedora Core 4 and I need to upgrade it to Fedora Core 10. Based on what I have read, it iis possible so I started theupgrade process. I get an error message saying that /dev/hda6 (my root paritition does not exist) even though it does.
Does the installer need to read a label from /etc/fstab? I executed tune2fs -L / /dev/hda6 amd ,and added LABEL=/ for the corresponding entry for fstab. but the FEDORA CORE 10 is still giving the same problems for the installation process. Should I upgrade to an intermediate verson like Fedora Core 7 first?
I am in school for my CIS degree and the book I am using this session covers Windows XP and Fedora Core 4. I am having trouble finding & downloading Fedora Core 4. My question is: Is there a big enough difference between Fedora Core 4 and Fedora Core 14 that I would not be able to use 14 instead of 4?
I've got fedora11 installed. ssh works fine until, I log off and left the PC idle overnight and in the morning when I try to ssh to it I can't get to it. But if I let someone login locally then I ssh to the box ssh would work again. where I can disable the sleep on the network card or something....
i am running gigabyte GA-M68M-S2P and AMD sempron 2.7. the problem is when i try to run dual core. it will boot and run for 2mins then it crashes. single core runs perfect.
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.
I have a command line OCR program called OCR Shop XTR (Vividata corp) that I am using on a system with a 6-core AMD chip. I changed the bios so that the 6-cores were activated, but htop shows me that while the program is running, I am only getting activity on one core (the program maxes out the one core with consistent usage between 97% and 100%).
I have read that many programs are not written to take advantage of multiple core cpu's. However, I am just hoping that there is some way to get this program to take advantage of the extra cores. Does anyone know of a way to invoke programs from the command line which would spread the workload out among additional cores?
Here is the output of uname -a:Linux linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/LinuxAnd here is the output for one of the cores from cat /proc/cpuinfo:processor : 5
vendor_id : AuthenticAMD cpu family : 16 model : 10 model name : AMD Phenom(tm) II X6 1100T Processor stepping : 0
I have now installed Wheezy on two different hard drives and in each case it seems only one CPU of my dual core CPU computer is recognized. System Monitor, Gkrellm and lscpu show just one when prior to the new install the old Wheezy showed both CPU's. I have put the hard drive into two other computers with dual core CPU's and all show just one CPU.
Interestingly System Profiler and Benchmark (hardinfo?) > Devices > Processors now show a large amount of processor infomation when with the old Wheezy I would only see both CPU's listed and nothing else.
I recently read in a forum that by default the Linux kernel only activates one of two cores in a dual core processor. Searching online gave one option to find out and that was the mpstat command. I therefore ran the command and got the following output.As the result says, it shows only 1 cpu. I was wondering what I could do to activate both cores in my machine, and whether doing so was going to cause me any problems.
Assume someone bind a particular process to a particular CPU core(In multi core machine) by using sched_setaffinity() like functions. Then how we can get that process running core id and CPU core utilisation of that process on that running CPU core(Pragmatically or by a Linux command)?.
how to remove the login prompt during the idle time. or just prolong it for about hours and hours so that this prompt wont appear each time i'm away. i still monitor the computer just 4 meters away and i have to get up becasue of this prompt.
I recently upgraded from Fedora 11 to Fedora 14 on my Dell Latitude E6400 notebook PC. It's a Dual core processor, as seen in the uname provided below:
uname -a: Linux COMPUTERNAME 2.6.35.6-48.fc14.i686 #1 SMP Fri Oct 22 15:34:36 UTC 2010 i686 i686 i386 GNU/Linux redhat-release: Fedora release 14 (Laughlin)
Since the upgrade, I've noticed some unexplainable behavior: The load average is consistently 0.5 - 1.75 when my PC is completely idle (99% according to top). No processes are in the D (I/O) state, and I have no Zombie processes. This happens on a fresh boot, every time. It gets worse and less worse, and bounces from unusable (cursor stops moving as I type in the terminal, to actually losing keystrokes at times). I'm wondering if anybody else is experiencing similar issues, or knows of a (the) kernel bug which is causing this behavior? Actively researching the issue. I've come across the following: Tens of wakes per second in "[kernel scheduler] Load balancing tick" on Core 2 Duo even with only 1 core enabled
i have fedora 8 on my machine...i want to uninstall it..i restarted my machine with windows CD on it....but shortly after pressing key to continue configuring the installation, screen goes blank and computer becomes idle....i tried using about 10-15 different CDs of windows OS but failed every time...what could be the reason and how can i fix this......NOTE: but if i try to reinstall fedora the problem dosen't occur.
I have XFX ATI-HD5670 and use proprietary catalyst 11.2-1 in 64-bit Fedora 14.
I am not sure when this started, or if it ever did work before, but when I started noticing that the screensaver will not turn off the monitor, I set the gnome power manager to make the monitor sleep after an hour.
Now, the display will not turn back on after it has been in sleep mode. I know the system is still running fine as I can ssh from another PC and see that everything seems to be normal, no error message in dmesg, /var/log/Xorg.0.log, etc.
/var/log/Xorg.0.log shows that monitor DPMS is not detected but still enables DPMS:
Is this a problem with catalyst driver? I know it's not the PC or the monitor, because I have a 2nd PC with the same video driver with the same problem, but others without this driver don't (ati open source, nvidia, etc. all work fine.)
I'm wondering if the problem always existed before, but I just didn't notice it because the display sleep mode was never set? If that's the case, my hunch is that it looked like it worked because the monitor was smart enough to turn itself off when the screensaver kicked in and just showed a blank screen, and the video driver was never involved with sleep mode until I set it in gnome power manager, at which point it started showing this problem of not waking up? And because the screensaver was no longer set to blank the screen, but to show some animation, that's why the monitor will never sleep anymore?
I've a program that launches new processes, and wait for them to die before it exits. So, for example, my program is a process, and it launches 3 more processes, and when the 3 child processes end, it will exit.
As you see, at end of the example, the program used a total number of 4 processes.
1 - Now, I'm running this program in a CPU with 4 cores. This means that the program used each core for each process?