help installing python
Topic: help installing python
started by: SD14
Posted by SD14 on Nov. 14 2007,00:38ok so i am a noob when it comes to installing things in linux so i was wondering if any one could tell me how to install python 2.5 in dsl cause i am lost completely
Posted by ^thehatsrule^ on Nov. 14 2007,01:36See MyDSL. It's specific to DSL.
Posted by SD14 on Nov. 15 2007,00:09ya i looked in mydsl and didnt find it is there any other place i can get it?
Posted by roberts on Nov. 15 2007,00:19Look in the Testing area. There is both a python-2.3.uci and a python-2.5.uci
Posted by SD14 on Nov. 15 2007,00:20i have looked there and it isnt there for me is there any way to update the list or something
Posted by roberts on Nov. 15 2007,05:00What kind of install?
What does your download mirror point to? (cat /opt/.dslrc)
Are you using the MyDSL GUI tool or a browser?
If browser what url are you trying to use?
Posted by SD14 on Nov. 16 2007,01:41i have an hd install, i dont know were it is pointing to, yes i am useing the gui
Posted by Juanito on Nov. 16 2007,05:30I just used the mydsl extension tool, clicked on the "testing" button in the middle at the bottom and both python-2.3 and python-2.5 show up.
What happens when you try this?
Posted by roberts on Nov. 16 2007,10:53If the mydsl extension tool is blank, then make sure that you have interenet working and the mydsl directory has proper permissions.
For a traditional hard drive install, the default is /tmp/mydsl/ Normally this location should not have a permission issue. But with a tradtional hard drive install, who knows.
Posted by SD14 on Nov. 16 2007,20:51when i click on testing i get items that popup just not python is there any way to like update the list or somethng?
Posted by roberts on Nov. 17 2007,01:23Ok. I suspect that at one time you may run the process at user root thereby preventing the list from be writeable by user dsl.
Check for a file by the name of info.lst
Normally this file is removed unsucessful use of the extension browser. You may still have it and with not the proper permissions it would appear to still work but not get updated. Therefore no python in the list.
You can delete this file (info.lst), likely you will need root power to do so.
Posted by SD14 on Nov. 17 2007,01:29were do i look for this file at
Posted by roberts on Nov. 17 2007,01:38Are you user 'dsl' and on the X desktop?
Open a shell window from menu or icon.
Post results here.
ls -l info.file
Post results here.
This is why I recommend frugal installs over traditional. Frugal can always boot into a known state. Traditional hard drive installations on any OS can suffer from system rot.
Posted by SD14 on Nov. 17 2007,01:56whoami = dsl
pwd = /home/dsl
ls -l info.file = ls: info.file: no such file or directory
and i tryed a frugel install and it wouldnt work for me
Posted by roberts on Nov. 17 2007,02:42Type
Posted by SD14 on Nov. 17 2007,02:51no such file or directory
Posted by roberts on Nov. 17 2007,03:14Click on DSLpanel, click on Select Mirror, click on Select.
You should get a list of sites via the internet, choose one close to your location. Doing this should populate /opt/.dslrc with your choice.
Then try using the extension browser again.
Posted by SD14 on Nov. 17 2007,03:33when i select a different mirror i still dont get python
Posted by SD14 on Nov. 18 2007,15:42ok i have downloaded python from one of the mirrors but i did it with the web browser and now i need to know how to install it cause when i try and load it nothing happens
Posted by Juanito on Nov. 18 2007,17:14Open a terminal window by clicking on the "ATerminal" icon and enter this:
Posted by SD14 on Nov. 18 2007,18:17when i do that this comes up
/tmp/python-2.5.uci on /opt/python-2.5 type iso9660 (ro,loop=/dev/cloop1)
umount: /temp/python-2.5.uci: not found
Posted by Juanito on Nov. 19 2007,03:30Is the extension in /tmp or /temp - maybe just a typo in your post above?
Do you have a folder /opt/python-2.5? Does it contain files? Note that the first time you use the command "mydsl-load /tmp/python-2.5.uci" it will load/mount the extension and the second time it will unload/unmount the extension.
Posted by SD14 on Nov. 19 2007,19:58ok i have gotten it to mount but when i right click and go to mydsl it isnt there
Posted by roberts on Nov. 19 2007,21:18Python is not an application.
It is a programming language.
It does not have a menu item or icon.
If you open a shell window and type python
You should see the Python interepter prompt.
Posted by SD14 on Nov. 19 2007,23:12ok i got it working now but is there any way i can open a new window
Posted by stupid_idiot on Nov. 20 2007,10:55Do you mean a new terminal window? Just click the 'terminal' icon in the desktop bar. You can open as many terminal instances as you want.
Posted by SD14 on Nov. 20 2007,17:32no i mean a new window for python like in windows there is an option to open a new window were you can type all the code you want and it doest disappear when you hit enter
Posted by curaga on Nov. 20 2007,17:35That's not really python, that's just the GUI of the Windoze version of it..
Python is compiled like Java.. So you can write in a text file, with any of the included editors (try "nano") and then compile it..