sipcfg.sip_mod_dir is not returning a valid path from Python3 on Ubuntu 18.04
I've got a trouble with sip on Ubuntu 18.04 64 bit.
I must rely on the official Ubuntu packages to build a software depending on sip, so "python3-sip" and "python3-sip-dev" packages are installed from apt-get.
But "/usr/lib/python3.6/dist-packages" is not a valid path.
I either have; "/usr/lib/python3/dist-packages" ("3" instead of "3.6" append to "python" in path name)
or; "/usr/lib/python3.6/site-packages" which is almost empty; actually, "sipconfig.py" is located in the previous folder (i.e. /usr/lib/python3/dist-packages/).
Is it possible something should be updated in "sipcfg.sip_mod_dir" definition...? Probably with some tests to check if path exists...?
Or did I do something wrong?
The version of the sip shipped from the official Ubuntu 18.04 repositories is: 4.19.7.