[Mobile-sig] ImportError: No module named site

chenchao at inhand.com.cn chenchao at inhand.com.cn
Mon Jul 27 03:57:26 CEST 2015


hi:
     I'm Needing to get python 2.7.10 to cross compile correctly for an 
ARM embedded device. When I execute python using shell, it comes out 
this error:ImportError: No module named site.I have setted environment 
varible:PYTHONHOME and PYTHONPATH. Is there some good idea to sovle this 
issue? who can tell me how can I download the 
python2.7.10-xcompile.patch file?thanks.
PYTHONHOME='/usr/sbin'. Python installing  dir
PYTHONPATH='/usr/lib' .The reference lib of python dir.
This is the result of executingpython -v:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/mobile-sig/attachments/20150727/740e60db/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 168900 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mobile-sig/attachments/20150727/740e60db/attachment-0001.png>


More information about the Mobile-sig mailing list