Python module import failed error

Chris Angelico rosuav at gmail.com
Tue Feb 19 16:29:01 CET 2013


On Wed, Feb 20, 2013 at 2:23 AM,  <matt.doolittle33 at gmail.com> 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/bin.  Thanks in advance.

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
/home/your_user_name/ for instance), go back to the commands you found
on the web and try them - they'll probably work, then.

ChrisA



More information about the Python-list mailing list