module/import question
subopt_at_gmail.com
Date: 02/28/05
- Next message: Brent W. Hughes: "Pythonwin: Red squiggley underline and syntax error"
- Previous message: Terry Reedy: "Re: Python - what is the fastest database ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 10:49:08 -0800
I'm trying to import Logilab's constraint module like this:
from logilab.constraint import *
from within a Python interactive session. The module is not installed
correctly on our system, and it won't be, so i adjusted my PYTHONPATH,
added an empty __init__.py file, then started up an interactive
session.
When i do the above import i get:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/afs/big/long/freakin/path/to/dl/__init__.py",line 23,in ?
ImportError: No module named constraint.propagation
the first time i do it, then the 2nd time it succeeds w/o a complaint.
The adjustment to my PYTHONPATH var was to append :
afs/big/long/freakin/path/to/dl
to the previous value. Any idea what i'm doing wrong?
thanks in advance,
E
- Next message: Brent W. Hughes: "Pythonwin: Red squiggley underline and syntax error"
- Previous message: Terry Reedy: "Re: Python - what is the fastest database ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|