Python 3.5.2 (default, Aug 18 2017, 17:48:00)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygit2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/snap/git-ubuntu/x1/lib/python3.5/site-packages/pygit2/__init__.py", line 32, in <module>
from _pygit2 import *
ImportError: /snap/core/current/lib/x86_64-linux-gnu/libresolv.so.2: symbol __res_maybe_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference