Re: ImportError raised in script, not interactive session.

2006-07-31 Thread Adam Blinkinsop
Jordan R McCoy wrote: > If this isn't the case, what are you using for TARGET_DIR? ${TARGET_DIR} = /home/blinks/projects/overwatch/target/lib/python I've started the interactive session from several different directories, and never had a problem. My make output (note the second item in sys.path):

RE: ImportError raised in script, not interactive session.

2006-07-31 Thread Jordan R McCoy
e standard directories. If this isn't the case, what are you using for TARGET_DIR? Jordan -Original Message- From: [EMAIL PROTECTED] on behalf of Adam Blinkinsop Sent: Mon 7/31/2006 5:42 PM To: python-list@python.org Subject: ImportError raised in script, not interactive session. I

ImportError raised in script, not interactive session.

2006-07-31 Thread Adam Blinkinsop
I'm writing a set of modules to monitor remote system services, and I'm having a problem running my test scripts. When I pass the scripts into python, like so: -- $ PYTHONPATH="${TARGET_DIR}" python test.py -- I get an ImportError: -- Traceback (most recent call last): File "./test.py", line