[Sugar-devel] [Sugar emulator][Ubuntu 11.04] I can't install an activity (with the setup.py)
alsroot at activitycentral.org
Mon Dec 5 17:49:21 EST 2011
On Mon, Dec 05, 2011 at 06:28:15PM +0100, laurent bernabe wrote:
> Hello everyone,
> I am following the ActivitiesGuideSugar pdf from august 2010.
> - I've fetched tutorial source code for etext activity (chapter 5 :
> inheriting from Activity.activity)
> - I've modified, carefully i think, the svg picture with Inkscape and
> edited the xml structure
> - I installed the Sugar Sweets distribution
> But when I try to setup the activity from the emulator terminal, I get an
> error saying that there is no module called sugar.activity
> (the line in fault : "from sugar.activity import bundlebuilder".
> Have I forgotten an important step in my sugar environment ?
The downside of using Sweets Distribution (and Sweets) is that you are
getting all libraries enabled only being in Sugar session. If you are
not in Sugar, the most useful setup.py's command are duplicated in
sweets command, e.g.:
More information about the Sugar-devel