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

D. Joe sugarlabs at etrumeus.com
Sat May 18 11:40:21 EDT 2019


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




More information about the Sugar-devel mailing list