Re: peak/utils/addons import problem
nicky van foreest <[email protected]> Mon, 24 Oct 2011 16:43:37 +0200
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <CAK_GA2HkZ=dAJM0MqBXOPjKQD8NKMYps6zcQtJG-ExrZd0BthA@mail.gmail.com> |
Hi, Thanks. I did not install trellis as an ubuntu package as it is not available as a package. I used easy_install trellis. After the problems occurred I reinstalled trellis with easy_install but the problem of not being able to find Addons remains. Any idea? Perhaps the simplest solution would be to just copy peak/util and peak/events to my python library and adjust the pythonpath accordingly. Or is this too simplistic? NIcky On 24 October 2011 16:37, PJ Eby <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> wrote: > Perhaps Ubuntu dropped the addons package, or split it into a separate > package? =A0Install AddOns from PyPI, and see what happens. > > On Mon, Oct 24, 2011 at 3:02 AM, nicky van foreest <[email protected]> > wrote: >> >> HI, >> >> This is what I get >> >> nicky@chuck:~/myprogs/python/an$ python view.py >> Traceback (most recent call last): >> =A0File "view.py", line 11, in <module> >> =A0 =A0from peak.events import trellis >> =A0File >> "/home/nicky/lib/python/Trellis-0.7a2-py2.7.egg/peak/events/trellis.py", >> line 3, in <module> >> =A0 =A0from peak.util import addons, decorators >> ImportError: cannot import name addons >> >> So why can peak.events.trellis be found, but peak.util.addons not? >> >> Nicky >> >> >> >> On 24 October 2011 00:55, PJ Eby <pje-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> wrote: >> > On Sun, Oct 23, 2011 at 5:34 PM, nicky van foreest >> > <[email protected]> >> > wrote: >> >> >> >> Hi, >> >> >> >> I updated my ubuntu version just now, and it broke my working trellis >> >> installation. >> > >> > You'll need to be more specific about "broke". =A0Do you have a traceb= ack? >> > > >