Python 2.6.4 and Python 3.1.1
- rpkopreski
- Posts: 19
- Joined: Fri 03 Jul 2009, 20:39
- Location: New England
- Contact:
Python Tcl/Tk PET: _tkinter module
Hi, I was able to produce this Python2.6 PET configured with Tcl/Tk. It can be downloaded from this website. You just need to register first.
http://chemtoolbox.com/index.php/reposi ... elect&id=6
Regards
http://chemtoolbox.com/index.php/reposi ... elect&id=6
Regards
synergenerator
H: Ubuntu Studio 8.04 / XP Black (unattended)
W: Ubuntu 9.04 / XP
M: Crunchbang / Puppy-4.2.1 - ChemPup-0.2.5 / XP
H: Ubuntu Studio 8.04 / XP Black (unattended)
W: Ubuntu 9.04 / XP
M: Crunchbang / Puppy-4.2.1 - ChemPup-0.2.5 / XP
- rpkopreski
- Posts: 19
- Joined: Fri 03 Jul 2009, 20:39
- Location: New England
- Contact:
No IDLE
2lss,
Sorry, I personally only needed the _tkinter module configured for python so I did not add anything related to IDLE, in fact, I don't know what it is/does. I'm sorry I couldn't be more helpful. If I get a chance, I may look into the ins-and-outs of IDLE and see if I can help more.
Sorry, I personally only needed the _tkinter module configured for python so I did not add anything related to IDLE, in fact, I don't know what it is/does. I'm sorry I couldn't be more helpful. If I get a chance, I may look into the ins-and-outs of IDLE and see if I can help more.
synergenerator
H: Ubuntu Studio 8.04 / XP Black (unattended)
W: Ubuntu 9.04 / XP
M: Crunchbang / Puppy-4.2.1 - ChemPup-0.2.5 / XP
H: Ubuntu Studio 8.04 / XP Black (unattended)
W: Ubuntu 9.04 / XP
M: Crunchbang / Puppy-4.2.1 - ChemPup-0.2.5 / XP
rpkopreski: Idle is an Ide for python. http://en.wikipedia.org/wiki/IDLE_(Python) From what the guys on #python told me as long as _tkinter is present ./configure should build idle by default.
I ended up trying to build python with idle but make threw up an error
I'm assuming that make can't find some part of tcl/tk so I checked the config.log and found:
But after searching for hours I have yet to figure out what that means.
I ended up trying to build python with idle but make threw up an error
Code: Select all
Failed to find the necessary bits to build these modules:
_tkinter bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Code: Select all
configure:22699: checking for UCS-4 tcl
configure:22727: gcc -pthread -c -g -O2 conftest.c >&5
conftest.c:239:17: error: tcl.h: No such file or directory
conftest.c:241:3: error: #error "NOT UCS4_TCL"
configure:22733: $? = 1
configure: failed program was:
| /* confdefs.h. */
- moogsydodong
- Posts: 81
- Joined: Mon 16 Mar 2009, 10:35
- Location: Tagum City, Davao del Norte, Mindanao, Philippines
I just downloaded from your link with no name or password required.moogsydodong wrote:my python 2.6.4 sfs with tcl_tk and a working IDLE
get it here:
python-2.6.4_tcl_tk-8.5_431.sfs
- moogsydodong
- Posts: 81
- Joined: Mon 16 Mar 2009, 10:35
- Location: Tagum City, Davao del Norte, Mindanao, Philippines
hi 8-bit...
tnx for downloading...please inform me for any problems in my package...
sorry about the size of the package...its quite big about 17mb+ compared to technos 3-6mb packages with pygtk and other goodies...
I didn't do any stripping because I don't know a safe way to strip unnecessary files its my first package compiled from source...
maybe next time I'll know how...
tnx for downloading...please inform me for any problems in my package...
sorry about the size of the package...its quite big about 17mb+ compared to technos 3-6mb packages with pygtk and other goodies...
I didn't do any stripping because I don't know a safe way to strip unnecessary files its my first package compiled from source...
maybe next time I'll know how...
...SHUT UP AND LISTEN!!!...In a battle there is only ONE COMMANDER!!!
- moogsydodong
- Posts: 81
- Joined: Mon 16 Mar 2009, 10:35
- Location: Tagum City, Davao del Norte, Mindanao, Philippines
no probs...
just PM me for any concerns...
I'm trying a lot of compilation from sources lately...
packaging and repackaging pets and sfs for personal and general use...
by the way what are you doing with python???
are you a professional programmer???
just PM me for any concerns...
I'm trying a lot of compilation from sources lately...
packaging and repackaging pets and sfs for personal and general use...
by the way what are you doing with python???
are you a professional programmer???
...SHUT UP AND LISTEN!!!...In a battle there is only ONE COMMANDER!!!
Hi moogsydodong,
Hey cool to see a Python admiror.Im a serious python lover and regret a lot because we puppyians do not have something like portable python
http://www.portablepython.com/
If you really love python please please please do work on it.We may not have to worry about the size of it as now we have a sfs loader
http://murga-linux.com/puppy/viewtopic.php?t=47465
with which we can use and uninstall sfs packages at our will.Turining puppy into something like a hostfor portable applications!!!!
One feature that puppy had been lacking was good programing language support for developers.Hmm.let me work on some links and post it here so that you can see the void that we have for python in the puppy linux world.We have also BIgbass working on this but let me sum up some herioc efforts of puppience to turn puppylinux a good host for developers.
And moogsydodong, please do continue your good work for the sake of all of us..I love you for that
Hey cool to see a Python admiror.Im a serious python lover and regret a lot because we puppyians do not have something like portable python
http://www.portablepython.com/
If you really love python please please please do work on it.We may not have to worry about the size of it as now we have a sfs loader
http://murga-linux.com/puppy/viewtopic.php?t=47465
with which we can use and uninstall sfs packages at our will.Turining puppy into something like a hostfor portable applications!!!!
One feature that puppy had been lacking was good programing language support for developers.Hmm.let me work on some links and post it here so that you can see the void that we have for python in the puppy linux world.We have also BIgbass working on this but let me sum up some herioc efforts of puppience to turn puppylinux a good host for developers.
And moogsydodong, please do continue your good work for the sake of all of us..I love you for that
HI buddy,
I m one of those poor fellows who is deeply in love with puppylinux and worry because i do not have the technical competency to contribute to the puppylinux world.but i do believe that if we all work in a bit more organised way we can make puppy the best distro out there.I was so far been searching for a proper python solution and finally landed on your post for a working python sfs luckily. I also downloaded and tried it using sfslinker
http://murga-linux.com/puppy/viewtopic.php?t=47465
with choicepup4.31 and your sfs did work.Even i saw a menu item but when I clicked it idle didnt appear,
And as you also had noted i tried to type idle in console also but it also gave an error message like shown in the attachment.Why could this be???
I m one of those poor fellows who is deeply in love with puppylinux and worry because i do not have the technical competency to contribute to the puppylinux world.but i do believe that if we all work in a bit more organised way we can make puppy the best distro out there.I was so far been searching for a proper python solution and finally landed on your post for a working python sfs luckily. I also downloaded and tried it using sfslinker
http://murga-linux.com/puppy/viewtopic.php?t=47465
with choicepup4.31 and your sfs did work.Even i saw a menu item but when I clicked it idle didnt appear,
And as you also had noted i tried to type idle in console also but it also gave an error message like shown in the attachment.Why could this be???
Note the last line in the error dialog. Looks like idle is trying to update the recent files list, but can't because it's in a read-only file system.hailpuppy wrote: And as you also had noted i tried to type idle in console also but it also gave an error message like shown in the attachment.Why could this be???
Are you running a frugal install?
______
Dennis
Hi DMcCunney, im using a live cd.Is that what has caused the problem??:-(
And ITAmember, Yes I tried what you said but still no good.Hmm guys Is there a way to create sfs files or to convert pet.files to sfs.?Im a extreme novice when it comes to programming and stuff but I once remastered a puppy with Python,Tkinter and wxPython with pet packages available. Hope there is a way I can get around with this my level of knowledge. And thanks guys you guys are doing a damn god job..
And ITAmember, Yes I tried what you said but still no good.Hmm guys Is there a way to create sfs files or to convert pet.files to sfs.?Im a extreme novice when it comes to programming and stuff but I once remastered a puppy with Python,Tkinter and wxPython with pet packages available. Hope there is a way I can get around with this my level of knowledge. And thanks guys you guys are doing a damn god job..
HI,
Follow this link http://dotpups.de/ITAmember/python/ and you will get Python 3.1.1 with Tkinter and IDLE.I just ran a print "hellow py3k" using IDLE on puppy 4.31 and it worked!!!! Thanks a million times to ITAmember for uploading this life savor!!! Laughing I am a die hard fan of the cool rebelic python,and puppy linux and now i have another joy to celebrate "py3k on python" I will shortly update a thread with links to other python sources also. Thanks again ITAmember:)
Follow this link http://dotpups.de/ITAmember/python/ and you will get Python 3.1.1 with Tkinter and IDLE.I just ran a print "hellow py3k" using IDLE on puppy 4.31 and it worked!!!! Thanks a million times to ITAmember for uploading this life savor!!! Laughing I am a die hard fan of the cool rebelic python,and puppy linux and now i have another joy to celebrate "py3k on python" I will shortly update a thread with links to other python sources also. Thanks again ITAmember:)
Geany no longer compiles
I don't know if i inadvertently did something but i can no longer get Geany to compile anything with any language.
I receive the following outputs depending on what language i try.
compilation failed
/bin/sh: python: command not found
/bin/sh: g++: command not found
/bin/sh: javac: command not found
/bin/sh: php: command not found
I am no expert on this so I don't want to waste anyone's time if it is a complicated process to fix. But if there is a somewhat simple fix i would appreciate the info.
I receive the following outputs depending on what language i try.
compilation failed
/bin/sh: python: command not found
/bin/sh: g++: command not found
/bin/sh: javac: command not found
/bin/sh: php: command not found
I am no expert on this so I don't want to waste anyone's time if it is a complicated process to fix. But if there is a somewhat simple fix i would appreciate the info.
-
- Posts: 37
- Joined: Fri 29 Jan 2010, 16:09
I used this thread to help me make this work so thought I'd post here here too.. It's also in the Programming section.
I've set this up on a couple of machines now and thought I'd pass it along...
It may not be the most up to date libraries and such, but it works.
Installing Python:
Using Puppy Package Manager under the category System install python_plus-2.6.6-i486-s
After installing you will have the following missing libraries:
libtcl8.5.so libtk8.5.so libgoocanvas.so.3
Open a console and type "python" you should see:
#python
Python 2.6.6 (r266:84292, Nov 27 2010, 1947:39)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license for more information
>>>
(No errors in the python installation)
Type "quit()" to exit python
Cleaning up two of the missing libraries:
Goto http://dotpups.de/ITAmember/python/, download and install:
tcl-8.5.7-p4.pet
tk-8.5.7-p4.pet
Open a console and type "python" then "import Tkinter" you should see:
#python
Python 2.6.6 (r266:84292, Nov 27 2010, 1947:39)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license for more information
>>>import Tkinter
>>>
(No errors in the Tkinter installation)
Again type "quit()" to exit python
** No solution for the missing libgoocanvas.so.3 library yet **
I am not having any problems programming without it so far...
Getting Geany to execute Python programs:
Open Geany and select Edit > Preferences
In Tools change the Terminal to "/usr/bin/xterm -e ebash -c"
Testing Tkinter:
Open Geany and create a new document and enter
Save it as HelloWorld.py
Press the Execute button
The program should execute without errors
Reference Material:
http://www.pythonware.com/library/tkint ... /index.htm
Useful Python Libraries
Basic setup instructions:
1. Download the source from one of the links below
2. Unpack the source distribution and change directory to the resulting top-level directory.
3. Type "python setup.py install"
http://www.crummy.com/software/BeautifulSoup/
http://wwwsearch.sourceforge.net/mechanize/
I've set this up on a couple of machines now and thought I'd pass it along...
It may not be the most up to date libraries and such, but it works.
Installing Python:
Using Puppy Package Manager under the category System install python_plus-2.6.6-i486-s
After installing you will have the following missing libraries:
libtcl8.5.so libtk8.5.so libgoocanvas.so.3
Open a console and type "python" you should see:
#python
Python 2.6.6 (r266:84292, Nov 27 2010, 1947:39)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license for more information
>>>
(No errors in the python installation)
Type "quit()" to exit python
Cleaning up two of the missing libraries:
Goto http://dotpups.de/ITAmember/python/, download and install:
tcl-8.5.7-p4.pet
tk-8.5.7-p4.pet
Open a console and type "python" then "import Tkinter" you should see:
#python
Python 2.6.6 (r266:84292, Nov 27 2010, 1947:39)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license for more information
>>>import Tkinter
>>>
(No errors in the Tkinter installation)
Again type "quit()" to exit python
** No solution for the missing libgoocanvas.so.3 library yet **
I am not having any problems programming without it so far...
Getting Geany to execute Python programs:
Open Geany and select Edit > Preferences
In Tools change the Terminal to "/usr/bin/xterm -e ebash -c"
Testing Tkinter:
Open Geany and create a new document and enter
Code: Select all
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack()
root.mainloop()
Save it as HelloWorld.py
Press the Execute button
The program should execute without errors
Reference Material:
http://www.pythonware.com/library/tkint ... /index.htm
Useful Python Libraries
Basic setup instructions:
1. Download the source from one of the links below
2. Unpack the source distribution and change directory to the resulting top-level directory.
3. Type "python setup.py install"
http://www.crummy.com/software/BeautifulSoup/
http://wwwsearch.sourceforge.net/mechanize/