python on imx233

Started by Lukas Mistr, December 01, 2014, 05:45:21 PM

Previous topic - Next topic

Lukas Mistr

good day
I would like to launch a program in python after booting olinuxino maxi. I tried procedure as a Led_blink, but I got this error :

/etc/rc.local: /opt/firmware/launcher.py: /usr/bin/python: bad interpreter: No such file or directory

I tried to install python using the command:
pacman -S python2
but I have error
error: Partition / too full: 22884 blocks needed, 9990 blocks free

Could you give me some advice please.

progmetalbg

Hi,

First list the pacman package database and search for python package (if it is allready installed):
pacman -Q | grep python
If you have it installed it would be listed as python (ver 3) or python2 (ver 2.x)
Also your / seems to be almost full:
Quoteerror: Partition / too full: 22884 blocks needed, 9990 blocks free
What is the size of the uSD card you are using?
Post here the output of
df -h
You may try to extend the root partition in order to use the unallocated space on SD card. Once you have enough free space on / you can install python2 package. Check this thread:
http://archlinuxarm.org/forum/viewtopic.php?f=31&t=3119

Lukas Mistr