The Following User Says Thank You to Munk For This Useful Post: | ||
![]() |
2008-10-31
, 10:34
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#2
|
Hello everyone. I use to be able to type the name of a Python program that I wanted to run at a xterminal and it worked like this:
Now after doing an upgrade I have to preface it with "python2.5" to get it to run, such as:Code:somepythonprogram.py
Plus, many of the Python programs that once worked no longer launch such as DialCentral and the newly installed mClock.Code:python2.5 somepythonprogram.py
I've uninstalled Python-2.5 and re-installed it a million times. I've done "apt-get python...." a million times. I've installed Python launcher in hopes that something would get fixed but to no avail. I've also read and tried different things for hours on end and nothing seems to be fixing it.
The Following User Says Thank You to yerga For This Useful Post: | ||
![]() |
2008-11-03
, 04:32
|
|
Posts: 229 |
Thanked: 108 times |
Joined on Oct 2007
@ Sacramento, California
|
#3
|
/bin/sh: not found
/bin/sh: not found
python2.5 /usr/bin/mClock
File "/usr/bin/mClock", line 2 exec python -O /usr/lib/mClock/mClock.py $ ^
Also, it would be useful if you upload the file created with:
"dpkg -l python* > /media/mmc2/installed_python_packages.txt"
![]() |
2008-11-03
, 13:40
|
Posts: 134 |
Thanked: 57 times |
Joined on Mar 2008
@ South Bend IN
|
#4
|
cd /usr/bin ls -l python
rm python ln -s /usr/bin/python2.5 python
The Following User Says Thank You to hvacengi For This Useful Post: | ||
![]() |
2008-11-05
, 00:16
|
|
Posts: 229 |
Thanked: 108 times |
Joined on Oct 2007
@ Sacramento, California
|
#5
|
![]() |
2008-11-05
, 14:01
|
Posts: 134 |
Thanked: 57 times |
Joined on Mar 2008
@ South Bend IN
|
#6
|
I've uninstalled Python-2.5 and re-installed it a million times. I've done "apt-get python...." a million times. I've installed Python launcher in hopes that something would get fixed but to no avail. I've also read and tried different things for hours on end and nothing seems to be fixing it.