Comment 4 for bug 1946034

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

Hello Joseph and Paride,

This looks like it might be a variation on bug 1930121

Do you have a non-standard python installation? (not installed via apt)

If so, then the quick fix is hopefully to just set PYTHONPATH=/usr/lib/python3/dist-packages. To test, try running
PYTHONPATH=/usr/lib/python3/dist-packages python3
and then try to `import uaclient` in the python shell.

'python-opcua' and 'python3-opcua' are unrelated. There is an unfortunate module naming collision between those packages and ubuntu-advantage-tools :(