Reputation: 12817
I got a small problem using pylint to check my python code. I use the opencv library in my code, which results in
E: 85: Module 'cv' has no 'MoveWindow' member
errors in my code. The reason for that is explained here : http://www.logilab.org/blogentry/78354
So I did just as they asked and created an astng_cv.py file in my code. I updated my PYTHONPATH so that he knows where my file is.
But when I try :
pylint --load-plugins astng_cv eagle_road.py
I keep having a :
ImportError: No module named astng_cv
error.
This is quite annoying and I don't really know what to do to solve the issue.
Would you have an idea?
Thanks by advance !
Upvotes: 1
Views: 7673
Reputation: 12817
The issue seems half solved here : http://www.logilab.org/5697
I can load my module in setting the PYTHONPATH directly :
PYTHONPATH=/home/jlengrand/bin/pypath pylint --load-plugins astng_cv tippy.py
But it is quite boring to have to set it each time.
The source seems to use imp.load_source, but I coulnd't really understand in which way :s .
Still searching then^^.
Upvotes: 0