[Sugar-devel] Toolkit Installation Sugar v0.113
quozl at laptop.org
Tue May 14 17:47:16 EDT 2019
If you were using the native sugar build method, then you are using
HEAD, which contains all patches since 0.113. Don't try to apply the
patch that Alex pointed out, as it is already applied.
The error message "ImportError: No module named sugar3" is caused by
not installing the Toolkit for Python 2.
Sugar 0.113 requires Python 2.
Toolkit by default installs for Python 3.
You can verify this is the situation by testing the import by hand
using different versions of Python;
python3 -c 'import sugar3' # expect pass
python2 -c 'import sugar3' # expect fail
You'll find in configure.ac where the Python version is chosen.
Perhaps that line should allow the caller to specify the version.
What do you think?
On Tue, May 14, 2019 at 04:42:16PM +0530, ANIKET MATHUR wrote:
> Greetings everyone,
> I was installing Sugar v0.113 using the Native Sugar build method here. I
> was using Ubuntu 18.10. After installation, on running Sugar I received the
> error message "ImportError: No module named sugar3". Need help with a couple of
> 1) Is there a need to have a build of the older version for v0.113 to work
> (never paid attention to that before).
> 2) What is the correct procedure for installing v0.113?
>  https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel