View Single Post
Old 08-10-2013, 01:01 PM   #3
fat265
Member
fat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watchfat265 is clearly one to watch
 
Posts: 18
Karma: 10638
Join Date: Jun 2013
Location: Australia
Device: kobo glo touch & mini
I normally run python scripts like this

python script.py or
./script.py

python is found in /mnt/onboard/.python
the executable is in /usr/bin

if i run you example ( ./python2.7 ./pip install pyserial )

It doesn't work because I don't have pip

but I can run this but get error ??? see below



[root@(none) bin]# python install pyserial
File "install", line 1
SyntaxError: Non-ASCII character '\xa0' in file install on line 2, but no encodi
ng declared; see http://www.python.org/peps/pep-0263.html for details
[root@(none) bin]#
fat265 is offline   Reply With Quote