[Sugar-devel] site-packages vs dist-packages, was Re: ... Sugar 0.114 stable

James Cameron quozl at laptop.org
Sun May 19 21:09:26 EDT 2019


Thanks for the patch, it has been merged.

On Sun, May 19, 2019 at 01:13:49PM +0530, ANIKET MATHUR wrote:
> Thanks a lot ;-). 
> 
> On Sat, May 18, 2019 at 9:18 PM D. Joe <[1]sugarlabs at etrumeus.com> wrote:
> 
>     On Sat, May 18, 2019 at 05:57:57PM +0530, ANIKET MATHUR wrote:
>     > Hello everyone,
>     > Even after installing the toolkit for python3 I was getting the error 'No
>     > module named sugar3' on running "sugar-activity3 ." command. After
>     exploring a
>     > bit
>     > I got to know that using the native method when I built the toolkit for
>     python
>     > 2 the sugar3 module is built in 'usr/local/lib/python2.7/dist-packages'
>     and
>     > running the command "python2 -c 'import sugar3" passes. But when I
>     install the
>     > toolkit for python3, the module sugar3 is built in  'usr/local/lib/
>     python3.6/
>     > site-packages' and on running the command "sugar-activity3 ." sugar tries
>     to
>     > read from "usr/local/lib/python3.6/dist-packages".
>     >  Is this a problem specific to my system(UBuntu 18.04)? A simple copy
>     paste of
>     > sugar3 module from site-packages to dist-packages would work?
>     >
> 
>     Thought I'd seen this sort of thing mentioned before and after a little
>     digging found this:
> 
>     [2]https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/383#
>     issuecomment-425647453
> 
>     I can't offer much more than that pointer, but I hope it helps.
> 
>     --
>     Joe
> 
>     _______________________________________________
>     Sugar-devel mailing list
>     [3]Sugar-devel at lists.sugarlabs.org
>     [4]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] mailto:sugarlabs at etrumeus.com
> [2] https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/383#issuecomment-425647453
> [3] mailto:Sugar-devel at lists.sugarlabs.org
> [4] http://lists.sugarlabs.org/listinfo/sugar-devel

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list