Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66619

Re: Problem importing libraries installed with PIP in Eclipse

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <fabiofz@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*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; 'eclipse': 0.16; 'fabio': 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&gt;': 0.22; 'cc:addr:python.org': 0.22; '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; 'problem': 0.35; 'subject:with': 0.35; 'created': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'version': 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; '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; '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=lJxMwAu93eZMf6dd6HryZ+5j//lMbmQjJsPd7ysns5A=; b=bl6GFkohNBdVcn5dA2S1DGqqOWyV17LjW4o7FB1AiiywAcqwR79Uw/iWWYlrzLDKEu 78uBPCuP/7+8GrgQGEeZ7hiRDCznF2i22EcyxS/TzBQge2ZD0wklVlnG0vcVtT0B9da5 qK2F5mbhS+3r44V+nQSGczic1pnqNmapLE7JTgoZMP/J5MKH0AiY3vtiXBz7B6vR+eXi KNyhuACPSxOjqzNoBj0r3zyQhtxWGZIp3nK/mFu/rSfroN9WyroNFx13PGD5PvgRwHF3 hR76INvWI+Qv97rRhnUCeU9fHrrUM7ZllSiDd4A43tlfOJMceis+qp4F+omZwslGW7n1 LamA==
X-Received by 10.220.159.4 with SMTP id h4mr18310813vcx.1.1392664062687; Mon, 17 Feb 2014 11:07:42 -0800 (PST)
MIME-Version 1.0
In-Reply-To <b8e939ac-73e3-422b-900f-439100817c54@googlegroups.com>
References <3a3acbf3-a7a5-4a5f-9e6c-10b4640be17f@googlegroups.com> <b8e939ac-73e3-422b-900f-439100817c54@googlegroups.com>
From Fabio Zadrozny <fabiofz@gmail.com>
Date Mon, 17 Feb 2014 16:07:22 -0300
Subject Re: Problem importing libraries installed with PIP in Eclipse
To Renato <rvernucio@gmail.com>
Content-Type multipart/alternative; boundary=001a11c2ca0cbf7e3004f29ede1f
Cc python list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7108.1392664065.18130.python-list@python.org> (permalink)
Lines 69
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392664065 news.xs4all.nl 2931 [2001:888:2000:d::a6]:57350
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66619

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Problem importing libraries installed with PIP in Eclipse Renato <rvernucio@gmail.com> - 2014-02-13 19:30 -0800
  Re: Problem importing libraries installed with PIP in Eclipse Fabio Zadrozny <fabiofz@gmail.com> - 2014-02-15 16:25 -0200
  Re: Problem importing libraries installed with PIP in Eclipse Renato <rvernucio@gmail.com> - 2014-02-16 04:59 -0800
  Re: Problem importing libraries installed with PIP in Eclipse Renato <rvernucio@gmail.com> - 2014-02-16 06:52 -0800
    Re: Problem importing libraries installed with PIP in Eclipse Fabio Zadrozny <fabiofz@gmail.com> - 2014-02-17 16:07 -0300
    Re: Problem importing libraries installed with PIP in Eclipse Renato Vernucio <rvernucio@gmail.com> - 2014-02-17 16:20 -0300

csiph-web