is deprecated in Python 3.3+ and causes issues with pyinstaller (mainly having to import the entire pkg_resources package, which is quite large). So checking the version number and not doing the import for these versions is likely the best solution to keep Python 2.x compatibility.
I have tested this in Python 3.6.5 and everything works as expected with this patch.
is deprecated in Python 3.3+ and causes issues with pyinstaller (mainly having to import the entire pkg_resources package, which is quite large). So checking the version number and not doing the import for these versions is likely the best solution to keep Python 2.x compatibility.
I have tested this in Python 3.6.5 and everything works as expected with this patch.