Problem importing libraries installed with PIP in Eclipse
On Sun, Feb 16, 2014 at 11:52 AM, Renato <rvernucio at gmail.com> wrote:
> It's solved now, oh my god I was so stupid! I created a package named
> "pybrain" for testing PyBrain module, so obviously when I tryed to import
> something from PyBrain library, Python would import all modules from this
> personal package I created. The problem was not being reproduced outside
> Eclipse because only within Eclipse my personal workstation directory
> (which contained the personal package "pybrain") was visible. The solution
> was simple: I just deleted the personal package named "pybrain" and now
> everything is working. Thank you very much for your help!
Nice that you got it working...
Now, just as a heads up, that version of PyDev is quite old (the latest
PyDev release: 3.3.3 is in many ways improved when comparing to older PyDev
versions). I know Aptana Studio still has the older version, so, if you use
mostly Python and you don't need the other features that Aptana Studio
adds, it might be worth going to pure Eclipse + PyDev (or using LiClipse
which also adds support for other languages -- besides being better
configured out of the box, although it's a commercial counterpart of PyDev
-- whose funds help to keep PyDev development going forward).
-------------- next part --------------
An HTML attachment was scrubbed...