This seems to be an issue with the pip versions of the python test tools Using virtualenv --no-site-packages (default) fails with the apt_pkg import error https://pastebin.canonical.com/125048/
Using system and no virtualenv succeeds https://pastebin.canonical.com/125049/
Using virtualenv --system-site-packages succeeds https://pastebin.canonical.com/125050/
This seems to be an issue with the pip versions of the python test tools /pastebin. canonical. com/125048/
Using virtualenv --no-site-packages (default) fails with the apt_pkg import error
https:/
Using system and no virtualenv succeeds /pastebin. canonical. com/125049/
https:/
Using virtualenv --system- site-packages succeeds /pastebin. canonical. com/125050/
https:/