[Sugar-devel] sugar-toolkit-gtk3 installation

Ananya Appan ananya.appan at gmail.com
Fri Dec 20 11:08:33 EST 2019


Thank you so much! I realised that the problem lay in my PYTHONPATH
variable. I just did export PYTHONPATH=/usr/lib/python2.7/dist-packages and
it worked. Thank  you for all the suggestions and help!

Regards
Ananya Appan

On Fri, Dec 20, 2019 at 12:53 AM James Cameron <quozl at laptop.org> wrote:

> Thanks for letting us know.
>
> What you describe doesn't match any problem I've seen with Ubuntu
> 18.04.  You will have to diagnose the cause further.
>
> For example, if "python2 -c 'import sugar3'" does not work, and yet
> python-sugar3 package is installed, there must be something wrong with
> the installation of python or something wrong with the python-sugar3
> package.
>
> Concentrate on why "import sugar3" does not work.  Until it works,
> there is no way for Sugar to run, and no need to test the same.
>
> If you'd like to try a customised Ubuntu 18.04 with Sugar already
> installed, see OLPC OS 13.2.10,
> http://wiki.laptop.org/go/Release_notes/18.04.0
>
> On Thu, Dec 19, 2019 at 06:28:57PM +0530, Ananya Appan wrote:
> > Thank you so much! I am still facing problems though.
> >
> > I tried it on python2, and I got the same error. I tried installing the
> sugar
> > desktop by installing the sucrose package using "sudo apt install
> sucrose" .
> > However, on logging out and trying to login after selecting the sugar
> desktop,
> > I am unable to login. The login screen is continuously prompted to me
> without
> > displaying any error message. Sugar3 has been installed in the directory
> /usr/
> > lib/python2.7/dist-packages/ . I'm not sure why I'm unable to import the
> > module.
> >
> > Thanks and Regards
> > Ananya Appan
> >
> > On Thu, Dec 19, 2019 at 1:21 AM James Cameron <[1]quozl at laptop.org>
> wrote:
> >
> >     Yes, that's the correct method for installing sugar-toolkit-gtk3 on
> >     Ubuntu 18.04, so perhaps you are not testing correctly; make sure you
> >     use python2, as the Ubuntu team for 18.04 have only packaged for
> >     python2.
> >
> >     e.g.
> >
> >     python2 -c 'import sugar3'
> >
> >     However, if you want to work on Python 3, you will have to upgrade
> >     from Ubuntu 18.04, using a package name python3-sugar3, which is
> >     available in Debian but not yet available in Ubuntu,
> >
> >     Choose either;
> >
> >     1.  install the Debian unstable package python-sugar3 0.116 and the
> >     experimental package python3-sugar3 0.116, or;
> >
> >     2.  remove the package python-sugar3 and use the Native Sugar method,
> >     [2]https://github.com/sugarlabs/sugar/blob/master/docs/
> >     development-environment.md#native-sugar
> >     or;
> >
> >     3.  install Sugar Live Build as a virtual machine.
> >
> >     On Wed, Dec 18, 2019 at 10:00:42PM +0530, Ananya Appan wrote:
> >     > Hello!
> >     >
> >     > I would like to know how to install sugar-toolkit-gtk3 for Ubuntu
> 18.04.
> >     I have
> >     > tried sudo apt-get install python-sugar3, but I still get the
> following
> >     error
> >     > on running setup.py.
> >     >
> >     > ImportError: No module named sugar3.activity
> >     >
> >     > Thanks in advance.
> >     >
> >     > Regards
> >     > Ananya Appan
> >
> >     > _______________________________________________
> >     > Sugar-devel mailing list
> >     > [3]Sugar-devel at lists.sugarlabs.org
> >     > [4]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >     --
> >     James Cameron
> >     [5]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:quozl at laptop.org
> > [2]
> https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#native-sugar
> > [3] mailto:Sugar-devel at lists.sugarlabs.org
> > [4] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [5] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20191220/9e16e4c9/attachment.html>


More information about the Sugar-devel mailing list