[Sugar-devel] sugar-toolkit-gtk3 installation
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!
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
> 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,
> 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
> > desktop by installing the sucrose package using "sudo apt install
> sucrose" .
> > However, on logging out and trying to login after selecting the sugar
> > I am unable to login. The login screen is continuously prompted to me
> > displaying any error message. Sugar3 has been installed in the directory
> > 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 <quozl at laptop.org>
> > 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,
> > 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
> > I have
> > > tried sudo apt-get install python-sugar3, but I still get the
> > error
> > > on running setup.py.
> > >
> > > ImportError: No module named sugar3.activity
> > >
> > > Thanks in advance.
> > >
> > > Regards
> > > Ananya Appan
> > > _______________________________________________
> > > Sugar-devel mailing list
> > > Sugar-devel at lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > --
> > James Cameron
> > http://quozl.netrek.org/
> > References:
> >  mailto:quozl at laptop.org
> > 
> >  mailto:Sugar-devel at lists.sugarlabs.org
> >  http://lists.sugarlabs.org/listinfo/sugar-devel
> >  http://quozl.netrek.org/
> James Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel