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


Groups > comp.lang.python > #39261

Re: Python module import failed error

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <matt.doolittle33@gmail.com>
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; 'paths': 0.05; 'sys': 0.05; 'bash': 0.07; 'python': 0.09; 'subject:module': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'subject:error': 0.11; "skip:' 30": 0.15; "skip:' 60": 0.16; 'subject:failed': 0.16; 'subject:import': 0.16; 'sys.path': 0.16; 'import': 0.21; "skip:' 40": 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'to?': 0.27; 'there.': 0.28; "skip:' 50": 0.29; "skip:' 10": 0.30; 'file': 0.32; "skip:' 20": 0.32; 'received:google.com': 0.34; 'received:209.85': 0.35; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'from:no real name:2**0': 0.60
X-Received by 10.49.71.135 with SMTP id v7mr1354731qeu.28.1361294430011; Tue, 19 Feb 2013 09:20:30 -0800 (PST)
Newsgroups comp.lang.python
Date Tue, 19 Feb 2013 09:20:29 -0800 (PST)
In-Reply-To <mailman.2046.1361292411.2939.python-list@python.org>
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> <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>
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 <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>
Message-ID <mailman.2051.1361294431.2939.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361294431 news.xs4all.nl 6913 [2001:888:2000:d::a6]:60819
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39261

Show key headers only | 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