Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'bash': 0.07; 'skip:/ 10': 0.07; 'thats': 0.07; 'path.': 0.09; 'subject:module': 0.09; 'worked.': 0.09; 'subject:error': 0.11; 'skip:p 40': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'slash.': 0.16; 'subject:failed': 0.16; 'subject:import': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'directory.': 0.17; 'obviously': 0.18; 'feb': 0.19; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'am,': 0.27; 'guess': 0.27; 'message-id:@mail.gmail.com': 0.27; 'actual': 0.28; 'folder': 0.30; 'file': 0.32; 'directory,': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'path': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'to:addr:python.org': 0.39; 'leading': 0.61; 'export': 0.62; '20,': 0.65; 'home': 0.66; '2013': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=M5gx42x4WWLxvZQ8dTU+nP/+oOxhGMdaKFg9qwYoKkQ=; b=xF9X9lnYQtp/BCTl/23PNoEI4vRfTnyBFYmpIDvGdArtBHBBoy+Zhj4R5G18ZVf8rq LulZIndf1nTjlZ/49mWCOt6Th5AfBGvztRO25k+bR9u9V8iulDhlC8aO6heg4CrVxegg 6OfmMmyV+34C6bMQTmcSmIKcd4+D2d5ePwINXvZ+Nx+vFisRpJpNU4yR984PWrLUbpFc FrsE8EOugrZEi5QV8hcnKYF8lUJUJrAYxbCHn7tV5DmhK2hKL3bsmI3CnbJf+gNyIhRK i+JybHuPcy0W4WIFScW7s2E8wa/rpcjkYrbmn2/1YJraoHVZXDEMBjl9O58yW6hRhsUD htVg== MIME-Version: 1.0 X-Received: by 10.52.37.109 with SMTP id x13mr19042806vdj.10.1361291130781; Tue, 19 Feb 2013 08:25:30 -0800 (PST) In-Reply-To: <8c9e791f-1c8f-434e-b009-d234c45e1964@googlegroups.com> References: <3c0e501e-cc5b-434e-b65b-0d4ffce82af9@googlegroups.com> <8c9e791f-1c8f-434e-b009-d234c45e1964@googlegroups.com> Date: Wed, 20 Feb 2013 03:25:30 +1100 Subject: Re: Python module import failed error From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361291150 news.xs4all.nl 6896 [2001:888:2000:d::a6]:40873 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39245 On Wed, Feb 20, 2013 at 3:17 AM, wrote: > thats the file path. the directory "bin" in my home directory. in bash = it obviously looks like this "~/bin" using the file system folder the path= is home/Home/bin. i have tried commands like, export PYTHONPATH=3D${PYTHO= NPATH}:/users/matt/bin or home/matt/bin or Home/home/bin and nothing has wo= rked. Change to that directory, then type 'pwd'. That'll tell you the actual path. My guess would be /home/matt/bin - note the leading slash. ChrisA