Python 2.6.4 and Python 3.1.1
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/
Re: Python 2.6.4 and Python 3.1.1
How to install this file? It has .gz extension, and when I click on it, there's arhive file in it with the same name but without extension, and I don't know how to run it.ITAmember wrote: Python 2.6
Also I don't know what is in this 62mb archive. Is it some sort of python package, with different programs, like pygame or tkinter...?