Problem importing libraries installed with PIP in Eclipse

Fabio Zadrozny fabiofz at gmail.com
Mon Feb 17 14:07:22 EST 2014


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!
>


Hi Renato,

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).

Cheers,

Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140217/7c751575/attachment.html>


More information about the Python-list mailing list