Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'correct.': 0.07; 'skip:/ 10': 0.07; 'python': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'subject:error': 0.11; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'slash.': 0.16; 'subject:failed': 0.16; 'subject:import': 0.16; 'wrote:': 0.17; 'skip:p 30': 0.20; 'import': 0.21; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'guess': 0.27; 'to?': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'from:addr:yahoo.co.uk': 0.32; 'running': 0.32; 'to:addr:python- list': 0.33; 'wrong': 0.34; 'received:org': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'leading': 0.61; 'export': 0.62; 'email addr:gmail.com': 0.63; 'home': 0.66 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Python module import failed error Date: Tue, 19 Feb 2013 16:47:37 +0000 References: <3c0e501e-cc5b-434e-b65b-0d4ffce82af9@googlegroups.com> <8c9e791f-1c8f-434e-b009-d234c45e1964@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-22-84-96.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: X-Antivirus: avast! (VPS 130219-0, 19/02/2013), Outbound message X-Antivirus-Status: Clean 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361292411 news.xs4all.nl 6894 [2001:888:2000:d::a6]:58989 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39250 On 19/02/2013 16:28, matt.doolittle33@gmail.com wrote: > My guess would be /home/matt/bin - note the leading slash. >> >> >> >> ChrisA > > correct. and in the home directory i run export PYTHONPATH=${PYTHONPATH}:/home/matt/bin and have had no luck? am i using the wrong command? > What is PYTHONPATH actually set to? You can find out by running python interactively, then import os os.environ['PYTHONPATH'] -- Cheers. Mark Lawrence