Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '16,': 0.03; 'cc:addr :python-list': 0.11; 'python': 0.11; 'mostly': 0.14; 'cc:name:python list': 0.16; 'created.': 0.16; 'did,': 0.16; 'eclipse': 0.16; 'fabio': 0.16; 'fabio,': 0.16; 'pity': 0.16; 'release:': 0.16; 'subject:Problem': 0.16; 'workstation': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'working.': 0.19; '(the': 0.22; 'feb': 0.22; 'import': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'adds': 0.24; 'comparing': 0.24; 'library,': 0.24; 'module,': 0.24; 'cheers,': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'help!': 0.26; 'header:In- Reply-To:1': 0.27; 'testing': 0.29; 'am,': 0.29; 'besides': 0.30; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'languages': 0.32; 'quite': 0.32; 'older': 0.33; 'could': 0.34; 'problem': 0.35; 'subject:with': 0.35; 'created': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'yours,': 0.36; 'thanks': 0.36; 'so,': 0.37; 'being': 0.38; 'skip:& 10': 0.38; 'thank': 0.38; 'configured': 0.38; 'version,': 0.38; 'skip:& 20': 0.39; 'skip:u 10': 0.60; 'improved': 0.60; 'up,': 0.60; 'personal': 0.63; 'box,': 0.64; 'god': 0.65; 'to:addr:gmail.com': 0.65; 'within': 0.65; 'worth': 0.66; 'latest': 0.67; 'wish': 0.70; 'commercial': 0.71; 'funds': 0.77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qLTT1X2bXobyN/GqRo41/5in4l+ikAkYC+tZqRBJkYw=; b=RT4DFd3XdO5PLBT2SS287wpel0JQ0v1aE9K7zklM9xs6ScVu0XSDcFNXBAzLxoNiAW ++c6akMMB4QShGLHMUxlhe04/nLgrMi/dkt5g4g16cZom4GfTvEmnC2Vs8SetFKWRBzx 6duoHKLOElpxiKHDVArDGkzbivrlDdRoN28YCLflFubgl12cY/8KoRvioV/+Kx0elS2G 3/iXu/q4/BVslBPiPaUFKAiqZ5dzn9QORedZAnpxR7ofisLhHsl3a+hEW0uvDX2bYkiq YSERuz7CM8tZC0hdM3eMFtePSiDIbICWVw6QgZY0NobjRXQzdohOiuz95FjtjiQ52++j I2eA== X-Received: by 10.60.62.199 with SMTP id a7mr2401467oes.64.1392664830187; Mon, 17 Feb 2014 11:20:30 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <3a3acbf3-a7a5-4a5f-9e6c-10b4640be17f@googlegroups.com> From: Renato Vernucio Date: Mon, 17 Feb 2014 16:20:10 -0300 Subject: Re: Problem importing libraries installed with PIP in Eclipse To: Fabio Zadrozny Content-Type: multipart/alternative; boundary=001a11c2190c7e9e1a04f29f0c0e Cc: python list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 105 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392664832 news.xs4all.nl 2893 [2001:888:2000:d::a6]:33499 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66622 --001a11c2190c7e9e1a04f29f0c0e Content-Type: text/plain; charset=ISO-8859-1 Hi Fabio, I wish I could use the latest PyDev, unfortunately I need Aptana studio. It's a pity they won't let us install individual packages from their bundle. If they did, I could install only the other packages and install PyDev separately. Thanks for your help once again. Yours, Renato 2014-02-17 16:07 GMT-03:00 Fabio Zadrozny : > > On Sun, Feb 16, 2014 at 11:52 AM, Renato 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 > --001a11c2190c7e9e1a04f29f0c0e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Fabio,

I wish I could use the latest= PyDev, unfortunately I need Aptana studio. It's a pity they won't = let us install individual packages from their bundle. If they did, I could = install only the other packages and install PyDev separately.

Thanks for your help once again.

Yours,
Renato


2014-02-17 16:07 GMT-03:00 Fabio Zadrozny <fabiof= z@gmail.com>:
=
On Sun, Feb 16, 2014 at 11:52 AM, Renato <rvernucio@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 obviousl= y when I tryed to import something from PyBrain library, Python would impor= t all modules from this personal package I created. The problem was not bei= ng reproduced outside Eclipse because only within Eclipse my personal works= tation 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 muc= h for your help!


Hi Renato,

Ni= ce that you got it working...

Now, just as a h= eads 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 sup= port 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

--001a11c2190c7e9e1a04f29f0c0e--