Closed
Description
It is well known that the Debian packaged python libraries get installed in a non-standard directory, for instance in /usr/lib/python2.7/dist-packages/
for python2.7 (see Deviations from upstream in the Python Debian wiki).
On the other hand, these images do not install the system provided python, but install it from source so that the sys.path
does not take into account the above non-standard directories; for instance, for python2.7, the path is set to
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']
If this issue is not solved, it is impossible to use system packaged python libraries; this is particularly critical for libraries that have heavy binary dependencies on other system libraries.