Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'bash': 0.07; 'thats': 0.07; 'python': 0.09; '(it': 0.09; 'path.': 0.09; 'subject:module': 0.09; 'to:addr:comp.lang.python': 0.09; 'worked.': 0.09; 'cc:addr:python-list': 0.10; 'subject:error': 0.11; 'skip:p 40': 0.15; 'subject:failed': 0.16; 'subject:import': 0.16; 'directory.': 0.17; 'obviously': 0.18; 'variable': 0.20; 'sort': 0.21; 'import': 0.21; 'work,': 0.22; 'cc:2**0': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'looks': 0.26; 'then.': 0.27; "doesn't": 0.28; "they'll": 0.29; 'probably': 0.29; 'folder': 0.30; 'code': 0.31; 'file': 0.32; 'impression': 0.33; 'ubuntu': 0.33; 'received:google.com': 0.34; 'path': 0.35; 'there': 0.35; 'add': 0.36; 'modules': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'mean': 0.38; 'some': 0.38; 'nothing': 0.38; 'where': 0.40; 'from:no real name:2**0': 0.60; 'skip:u 10': 0.60; 'real': 0.61; 'back': 0.62; 'export': 0.62; 'skip:n 10': 0.63; 'home': 0.66 X-Received: by 10.49.1.70 with SMTP id 6mr1252446qek.27.1361290631314; Tue, 19 Feb 2013 08:17:11 -0800 (PST) Newsgroups: comp.lang.python Date: Tue, 19 Feb 2013 08:17:11 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.76.226.247; posting-account=aUyV1AoAAADQHesJeGDOvoY6ETPzeVsR References: <3c0e501e-cc5b-434e-b65b-0d4ffce82af9@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 74.76.226.247 MIME-Version: 1.0 Subject: Re: Python module import failed error From: matt.doolittle33@gmail.com To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: , Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361291108 news.xs4all.nl 6906 [2001:888:2000:d::a6]:40417 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39244 >=20 > What do you mean by that path? That doesn't look like an Ubuntu/Linux >=20 > path name. Pull up a terminal (Ctrl-Alt-T should do that for you, >=20 > though I haven't used an Ubuntu since 10.10) and see if you can 'ls' >=20 > the path - once you have the real path name (it might start with >=20 > /home/your_user_name/ for instance), go back to the commands you found >=20 > on the web and try them - they'll probably work, then. >=20 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 i= s home/Home/bin. i have tried commands like, export PYTHONPATH=3D${PYTHONP= ATH}:/users/matt/bin or home/matt/bin or Home/home/bin and nothing has work= ed. from what ive found on the web the Python import process is notoriously und= erspecified, notwithstanding i was under the impression that PYTHONPATH is = a global variable that i can add directories to at anytime to tell Python w= here to look, without having to add some sort of code to every program. is= this impression incorrect? is there some code i need to add to the Python= program call the modules in the "bin" dir? =20