<div dir="ltr"><div>Thank you so much! I am still facing problems though.<br></div><div><br></div><div>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.</div><div><br></div><div>Thanks and Regards</div><div>Ananya Appan<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 19, 2019 at 1:21 AM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes, that's the correct method for installing sugar-toolkit-gtk3 on<br>
Ubuntu 18.04, so perhaps you are not testing correctly; make sure you<br>
use python2, as the Ubuntu team for 18.04 have only packaged for<br>
python2.<br>
<br>
e.g.<br>
<br>
python2 -c 'import sugar3'<br>
<br>
However, if you want to work on Python 3, you will have to upgrade<br>
from Ubuntu 18.04, using a package name python3-sugar3, which is<br>
available in Debian but not yet available in Ubuntu,<br>
<br>
Choose either;<br>
<br>
1. install the Debian unstable package python-sugar3 0.116 and the<br>
experimental package python3-sugar3 0.116, or;<br>
<br>
2. remove the package python-sugar3 and use the Native Sugar method, <br>
<a href="https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#native-sugar" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#native-sugar</a><br>
or;<br>
<br>
3. install Sugar Live Build as a virtual machine.<br>
<br>
On Wed, Dec 18, 2019 at 10:00:42PM +0530, Ananya Appan wrote:<br>
> Hello!<br>
> <br>
> I would like to know how to install sugar-toolkit-gtk3 for Ubuntu 18.04. I have<br>
> tried sudo apt-get install python-sugar3, but I still get the following error<br>
> on running setup.py.<br>
> <br>
> ImportError: No module named sugar3.activity<br>
> <br>
> Thanks in advance.<br>
> <br>
> Regards<br>
> Ananya Appan<br>
<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</blockquote></div>