Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.albasani.net!newsfeed.freenet.ag!feeder2.ecngs.de!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:module': 0.09; 'python': 0.10; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'sure.': 0.16; 'laura': 0.18; 'library': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'do.': 0.22; 'arm': 0.22; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'fri,': 0.27; 'question': 0.27; 'idea': 0.28; 'received:se': 0.29; 'environment': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'correctly': 0.34; 'skip:> 10': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'url:mail': 0.40; 'some': 0.40; 'header:Message-Id:1': 0.61; 'needing': 0.63; 'here:': 0.63; 'jul': 0.72; 'received:89': 0.80; 'device.': 0.93 To: "chenchao@inhand.com.cn" cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: Fwd: ImportError: No module named site In-Reply-To: Message from "chenchao@inhand.com.cn" of "Fri, 24 Jul 2015 09:37:35 +0800." <55B196DF.80808@inhand.com.cn> References: <55B0C0FF.1000507@inhand.com.cn><55B196DF.80808@inhand.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9279.1437703945.1@fido> Content-Transfer-Encoding: quoted-printable Date: Fri, 24 Jul 2015 04:12:25 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Fri, 24 Jul 2015 04:12:28 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437704014 news.xs4all.nl 2886 [2001:888:2000:d::a6]:58513 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94486 In a message of Fri, 24 Jul 2015 09:37:35 +0800, "chenchao@inhand.com.cn" = write s: >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? You might want to try that question over here: https://mail.python.org/mailman/listinfo/mobile-sig I think you have an issue with dynamic library linking, but I don't know how to find out for sure. People there do. Laura