Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39281

Re: Python module import failed error

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'session.': 0.07; 'skip:/ 10': 0.07; 'subject:module': 0.09; 'subject:error': 0.11; 'applies': 0.15; 'command,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:failed': 0.16; 'subject:import': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'variables': 0.17; 'shell': 0.18; 'feb': 0.19; 'putting': 0.20; 'sort': 0.21; 'import': 0.21; 'user.': 0.23; 'command': 0.24; 'header:In-Reply-To:1': 0.25; 'skip:" 20': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'environment': 0.29; 'error': 0.30; 'file': 0.32; 'getting': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'done': 0.34; 'path': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'created': 0.36; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'apply': 0.39; 'where': 0.40; 'your': 0.60; 'export': 0.62; '20,': 0.65; '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=9j0fAKS7ZdOPOBVamJJdGA7LJaVmBTZ1mco2zBLkRo8=; b=Ms+evT00XF9hux3TkxBsxLDOdFb31Efx6/YTdREwIZQ+xi406fN630TjTQLaQFV+c7 S/Zr1WDxiEghAjqNhhmQxsn5RQPKg65sxWkz4djnoC9d8N46mrtkoypD14xDBWp/E7mq 2NdqLg8rqBhv1Fv7lU2h9t9hrbok3iQQDAKEiNDkVK2kxOpkO35rN1UdMcoWlVFhP6Ys nSpgDxGZu57HL0Y19mD1kRzSkEgjcn1x7J5Pi3s+5/BhCFHu9cNqkBGafU4U3Jb4yzGd 7T/RVf8rI6lsRFoynmkfQNiK+gB6fC4wFsEE2tEpBJu1zBqdEkATqdxIqJV6Ih1q/52J DArw==
MIME-Version 1.0
X-Received by 10.220.149.200 with SMTP id u8mr22608390vcv.7.1361310381388; Tue, 19 Feb 2013 13:46:21 -0800 (PST)
In-Reply-To <d8744ff0-54de-4ebd-8972-d3f595f242f2@googlegroups.com>
References <3c0e501e-cc5b-434e-b65b-0d4ffce82af9@googlegroups.com> <mailman.2029.1361287750.2939.python-list@python.org> <8c9e791f-1c8f-434e-b009-d234c45e1964@googlegroups.com> <mailman.2042.1361291150.2939.python-list@python.org> <f1112fc5-e170-409b-bc21-4989535692c2@googlegroups.com> <mailman.2046.1361292411.2939.python-list@python.org> <f3c7ce42-5832-41f7-88e1-4319f3665657@googlegroups.com> <mailman.2052.1361294466.2939.python-list@python.org> <d8744ff0-54de-4ebd-8972-d3f595f242f2@googlegroups.com>
Date Wed, 20 Feb 2013 08:46:21 +1100
Subject Re: Python module import failed error
From Chris Angelico <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2066.1361310384.2939.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361310384 news.xs4all.nl 6979 [2001:888:2000:d::a6]:59449
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39281

Show key headers only | View raw


On Wed, Feb 20, 2013 at 4:45 AM,  <matt.doolittle33@gmail.com> wrote:
> The directory /home/matt/bin contains "multimode_helper.py" and this file path is in the PYTHONPATH.  I still get the import error however. so now that i know the file path is in PYTHONPATH but i am still getting the import error i am really confused here.

Do you understand how Unix environment variables work? You're using
the 'export' command, but that doesn't make any sort of global change
- it still applies only to things done in the same session. (Actually,
your change applies only to children of the shell where you do it...
but never mind that now.) You may do better by putting the export
command into your .bashrc - that would apply to all sessions created
by your user.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 07:23 -0800
  Re: Python module import failed error Chris Angelico <rosuav@gmail.com> - 2013-02-20 02:29 +1100
    Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:17 -0800
      Re: Python module import failed error Chris Angelico <rosuav@gmail.com> - 2013-02-20 03:25 +1100
        Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:28 -0800
          Re: Python module import failed error Chris Angelico <rosuav@gmail.com> - 2013-02-20 03:39 +1100
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:51 -0800
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:51 -0800
          Re: Python module import failed error Thomas Calmant <thomas.calmant@gmail.com> - 2013-02-19 17:44 +0100
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:54 -0800
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:54 -0800
          Re: Python module import failed error Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-19 16:47 +0000
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:57 -0800
              Re: Python module import failed error Dave Angel <davea@davea.name> - 2013-02-19 12:20 -0500
                Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 09:45 -0800
                Re: Python module import failed error Chris Angelico <rosuav@gmail.com> - 2013-02-20 08:46 +1100
                Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 09:45 -0800
              Re: Python module import failed error Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-19 17:22 +0000
                Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 13:24 -0800
                Re: Python module import failed error Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-19 19:36 -0500
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:57 -0800
              Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 09:10 -0800
                Double posts (was Re: Python module import failed error) Lele Gaifax <lele@metapensiero.it> - 2013-02-19 19:17 +0100
                Re: Double posts (was Re: Python module import failed error) matt.doolittle33@gmail.com - 2013-02-19 10:31 -0800
              Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 09:10 -0800
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 09:20 -0800
            Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 09:20 -0800
        Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:28 -0800
    Re: Python module import failed error matt.doolittle33@gmail.com - 2013-02-19 08:17 -0800

csiph-web