Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: Lukas Mistr on December 01, 2014, 05:45:21 PM

Title: python on imx233
Post by: Lukas Mistr on December 01, 2014, 05:45:21 PM
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.
Title: Re: python on imx233
Post by: progmetalbg on December 02, 2014, 08:35:39 PM
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 (http://archlinuxarm.org/forum/viewtopic.php?f=31&t=3119)
Title: Re: python on imx233
Post by: Lukas Mistr on December 03, 2014, 12:20:43 PM
Thank you for your help