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


Groups > comp.lang.python > #39261

Re: Python module import failed error

Newsgroups comp.lang.python
Date 2013-02-19 09:20 -0800
References (1 earlier) <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>
Subject Re: Python module import failed error
From matt.doolittle33@gmail.com
Message-ID <mailman.2051.1361294431.2939.python-list@python.org> (permalink)

Show all headers | View raw


> 
> What is PYTHONPATH actually set to?  


OK so i ran python and then :

import sys
sys.path

bash returned:

['', '/home/matt', '/users/matt/bin', '/home/matt/bin', '/Home/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

so the paths i have been adding are there.  should i be adding the python file names in the "bin" directory as well?

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