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


Groups > comp.lang.python > #39281

Re: Python module import failed error

References (4 earlier) <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 2013-02-20 08:46 +1100
Subject Re: Python module import failed error
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2066.1361310384.2939.python-list@python.org> (permalink)

Show all headers | 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