LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble with Python install in damnsmalllinux (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-with-python-install-in-damnsmalllinux-618078/)

Allus 02-01-2008 08:57 PM

Trouble with Python install in damnsmalllinux
 
Hello. DSL is a harddrive install. No internet access on this machine. But downloaded Python-2.5.uci from a different computer and transferred it over into /temp.

Went to the command line:

mydsl-load /temp/python-2.5.uci

The command line told me that I had achieved success and that python was loaded. But when I type Python into the command line it responds saying there is no such command. Doing a 'find' or 'which' on python doesn't get me anywhere either.

Any suggestions?

TIA

Allus 02-01-2008 10:14 PM

Update...
 
Okay. I was frustrated enough to shut down the computer and as it was giving it's closing messages I saw where it said it had unmounted python and gave a path of /opt/python.

So, I booted up again and navigated to that directory with the filemanager. After playing around a bit, I found myself in the /opt/python/bin where I saw an executable. Clicking on it did nothing, except it caused the cpu to whir a bit. So, I fired up a terminal...

To make a long story short, I can get an interpreter by entering the command as:

/opt/python/bin/python

So, I guess I need to set this in my system path. But how do I do that? Or is there something else I need to do?

Thanks again.


All times are GMT -5. The time now is 02:48 PM.