Hi Guys, I just updated my python 3.6 version to a more recent one, and suddenly I get the error:
ModuleNotFoundError: No module named 'pkg_resources.py2_warn' when running a Mac App. >From what I could find. apparently the problem is related to the version of setuptools (was 45 before, is 46 now). According to the discussion here: https://github.com/pypa/setuptools/issues/1963 A workaround is to compile the code with the flag: hidden-import='pkg_resources.py2_warn' And it actually works. However, I find this to be just an ugly solution and I was wondering whether there is another way to solve this problem? Cheers, Thor. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/b5a980ac-6053-4068-8d2a-1ec00d4cd896%40googlegroups.com.