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

ANIKET MATHUR amathur at ec.iitr.ac.in
Sun May 19 03:43:49 EDT 2019


Thanks a lot ;-).

On Sat, May 18, 2019 at 9:18 PM D. Joe <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:
>
>
> 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
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190519/0c343aae/attachment.html>


More information about the Sugar-devel mailing list