Re: Python module import failed error

2013-02-19 Thread Chris Angelico
On Wed, Feb 20, 2013 at 4:45 AM, 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 conf

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
Here is the PYTHONPATH >>> import sys >>> sys.path ['', '/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/

Re: Double posts (was Re: Python module import failed error)

2013-02-19 Thread matt . doolittle33
Thanks Lele. -- http://mail.python.org/mailman/listinfo/python-list

Double posts (was Re: Python module import failed error)

2013-02-19 Thread Lele Gaifax
matt.doolittl...@gmail.com writes: > Does anyone know why i keep having these double posts? That's because your posts carry the following headers: To: python-list@python.org Cc: python-list@python.org or these (from a previous message): To: comp.lang.pyt...@googlegroups.com Cc: python-

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
> > gnuradiocompanion.py ? And does the error message/stacktrace appear in > > the same terminal window? > hi. ok so i am trying to run the python module (multimode_helper.py) in the GNU radio companion (GRC) which is sort of like an IDE which lets you organize code blocks by arranging

Re: Python module import failed error

2013-02-19 Thread Mark Lawrence
On 19/02/2013 16:57, matt.doolittl...@gmail.com wrote: What is PYTHONPATH actually set to? You can find out by running python interactively, then i dont know. how do i run pythoin interactively? Type python at a command prompt :) -- Cheers. Mark Lawrence -- http://mail.python.org/mai

Re: Python module import failed error

2013-02-19 Thread Dave Angel
On 02/19/2013 11:57 AM, matt.doolittl...@gmail.com wrote: What is PYTHONPATH actually set to? You can find out by running python interactively, then i dont know. how do i run pythoin interactively? By typing the simple command 'python' davea@think2:~$ python Python 2.7.3 (default, A

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
> > 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',

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
Does anyone know why i keep having these double posts? please excuse them; i am a super newbie to this forum (and python obviously). Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
> What is PYTHONPATH actually set to? You can find out by running python > > interactively, then i dont know. how do i run pythoin interactively? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
On Tuesday, February 19, 2013 11:44:32 AM UTC-5, Thomas Calmant wrote: > Hi, > > Do you run Python in the same terminal than where you run the export command ? > no i dont. the python program looking for the modules in the ~/bin directory is called GNU radio companion. -- http://mail.python.

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
On Tuesday, February 19, 2013 11:39:14 AM UTC-5, Chris Angelico wrote:> > > What exactly do you mean by "no luck"? More details would be good. > The program i am using (GNU radio companion) that wants to import the modules from the ~/bin folder shows this error: Block - import_0_0_0 - Import(

Re: Python module import failed error

2013-02-19 Thread Mark Lawrence
On 19/02/2013 16:28, matt.doolittl...@gmail.com wrote: My guess would be /home/matt/bin - note the leading slash. ChrisA correct. and in the home directory i run export PYTHONPATH=${PYTHONPATH}:/home/matt/bin and have had no luck? am i using the wrong command? What is PYTHONPATH act

Re: Python module import failed error

2013-02-19 Thread Thomas Calmant
Hi, Do you run Python in the same terminal than where you run the export command ? ++ Thomas 2013/2/19 > My guess would be /home/matt/bin - note the leading slash. > > > > > > > > ChrisA > > correct. and in the home directory i run export > PYTHONPATH=${PYTHONPATH}:/home/matt/bin and have had

Re: Python module import failed error

2013-02-19 Thread Chris Angelico
On Wed, Feb 20, 2013 at 3:28 AM, wrote: > My guess would be /home/matt/bin - note the leading slash. >> >> >> >> ChrisA > > correct. and in the home directory i run export > PYTHONPATH=${PYTHONPATH}:/home/matt/bin and have had no luck? am i using the > wrong command? What exactly do you mean

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
My guess would be /home/matt/bin - note the leading slash. > > > > ChrisA correct. and in the home directory i run export PYTHONPATH=${PYTHONPATH}:/home/matt/bin and have had no luck? am i using the wrong command? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python module import failed error

2013-02-19 Thread Chris Angelico
On Wed, Feb 20, 2013 at 3:17 AM, wrote: > 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 is > home/Home/bin. i have tried commands like, export > PYTHONPATH=${PYTHONPATH}:/users/matt/bin or

Re: Python module import failed error

2013-02-19 Thread matt . doolittle33
> > What do you mean by that path? That doesn't look like an Ubuntu/Linux > > path name. Pull up a terminal (Ctrl-Alt-T should do that for you, > > though I haven't used an Ubuntu since 10.10) and see if you can 'ls' > > the path - once you have the real path name (it might start with > > /ho

Re: Python module import failed error

2013-02-19 Thread Chris Angelico
On Wed, Feb 20, 2013 at 2:23 AM, wrote: > Hello all; I am using Ubuntu 12.10 and Python v2.7.3. I am trying to add a > directory to the PYTHONPATH. All of the commands I have found on the web > have failed. Please help me to add a directory to the PYHONPATH. The file > path is Home/home/bi

Python module import failed error

2013-02-19 Thread matt . doolittle33
Hello all; I am using Ubuntu 12.10 and Python v2.7.3. I am trying to add a directory to the PYTHONPATH. All of the commands I have found on the web have failed. Please help me to add a directory to the PYHONPATH. The file path is Home/home/bin. Thanks in advance. -- http://mail.python.or