Inconsistent problem with importing module

Using PyCharm 2.6 on OSX 10.6.8.

I just installed pylpsolve (outside PyCharm, from the command line, no install errors). It installed some .py files and some .so compiled files.

In my existing project, when I do:

import pylpsolve

it runs without error. But when I do:

from pylpsolve import LP

I get: ImportError: cannot import name LP

If I create a new empty project, configured with the same Python Interpreter, both the above work without any problem.

Any ideas what is going on? Do I somehow need to force a re-scan or re-index of some libraries or paths in my existing project?

Thanks!
1 comment
You can try using File | Invalidate Caches - this might solve the problem.
0

Please sign in to leave a comment.