I used environment on Fedora core 6 and tried with python 2.5.2 package on board chip mips and platform 2.6 is ok (although when "make" still have error:
"/bin/sh: line 2: ./python: cannot execute binary file
make: *** [sharedmods] Error 126 "
but I can run it on this board ( GCC 4.0.4, binutils2.17, uClibc0.9.28.3) )."
I don't understand why I can't import modules : time, random, etc,… but I can import os module and some thing are available. Please explain for me about it, and how to set up environment variable, to import modules for using it in running on board :
./python my_script
my_script : in this script I need import and use modules.
Because I'm a newbie about python , so I will have some stunned questions. If it happens, please bypass for me.
Thank you so much
"/bin/sh: line 2: ./python: cannot execute binary file
make: *** [sharedmods] Error 126 "
but I can run it on this board ( GCC 4.0.4, binutils2.17, uClibc0.9.28.3) )."
I don't understand why I can't import modules : time, random, etc,… but I can import os module and some thing are available. Please explain for me about it, and how to set up environment variable, to import modules for using it in running on board :
./python my_script
my_script : in this script I need import and use modules.
Because I'm a newbie about python , so I will have some stunned questions. If it happens, please bypass for me.
Thank you so much