Topic: Python on the Dash?

Is it possible to install and run python on the Dash?

http://wiki.chumby.com/index.php?title=Python

Re: Python on the Dash?

Give it a shot, let me know, if so, I'll update the wiki.

Cleaning up any loose bits and bytes.

Re: Python on the Dash?

I tried unpacking the tgz file on a usb drive, but got an error when I tried to run it

[root@tango3 bin]# ls -l /mnt/usb/bin
-rwxrwxrwx    1 root     root           82 May 24  2009 pydoc*
-rwxrwxrwx    1 root     root      1350216 May 24  2009 python*
-rwxrwxrwx    1 root     root         1422 May 24  2009 python-config*
-rwxrwxrwx    1 root     root      1350216 May 24  2009 python2.6*
-rwxrwxrwx    1 root     root         1422 May 24  2009 python2.6-config*
[root@tango3 bin]# /mnt/usb/bin/python
-bash: /mnt/usb/bin/python: cannot execute binary file

I found another page that mentions that tgz file:

https://gist.github.com/reid/1209059 linked from thread that Duane started: http://forum.chumby.com/viewtopic.php?id=7033

Re: Python on the Dash?

tonyyng1 wrote:

I tried unpacking the tgz file on a usb drive, but got an error when I tried to run it

[root@tango3 bin]# /mnt/usb/bin/python
-bash: /mnt/usb/bin/python: cannot execute binary file

Well, yeah:

[root@tango3 ~]# cat /proc/cpuinfo
system type        : Sigma Designs TangoX
processor        : 0
cpu model        : MIPS 24K V7.12  FPU V0.0

vs

chumby:~# cat /proc/cpuinfo
Processor    : ARM926EJ-S rev 5 (v5l)

completely different processor, you'll have to compile one from source, or get one compiled for the mips processor.

Cleaning up any loose bits and bytes.