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
Hello Michael --
Have you found the solution to your issue? I am having the exact same issue
and cannot figure out how to correct.
My info for the versions I am using is below:
408 INFO: PyInstaller: 3.6
409 INFO: Python: 3.8.2
409 INFO: Platform: Windows-10-10.0.18362-SP0
I get the same info:
There are a couple of others.
One is to put the following somewhere in your code:
import pkg_resources.py2_warn
Or to make it work as well with older setuptools versions:
try:
import pkg_resources.py2_warn
except ImportError:
pass
A more satisfactory solution would be to use
First thank you.
I think i have done it correctly, the adding of the path that you
suggested. You can see the file.
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['PC.py'],
pathex=['D:\\Python\\Novo\\Point Cloud Ver2','C:\\Program