Comment 1 for bug 1675479

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

I don't see that error, but I had to make modifications to your snapcraft.yaml -> http://paste.ubuntu.com/24327782/

the environment entries are currently broken in snapd. You also want to use a fixed python (the one in the snap to get the correct sitecustomize which gets PYTHONPATH just right).

What is missing here is the fact that you are not compiling your own python and are creating a classic snap. This will cause issues.

I'll mark this bug as invalid for now, but feel free to reopen or open a new one, but .pth files seem to work.

snapper@snap-testing:~$ $SNAP/usr/bin/python2
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from paste import deploy
>>>

^-- no exception ;-)