error: [Errno 17] File exists when py2app packaging code
copying file /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/METADATA -> /Users/huangyanyan/Downloads/test/build/bdist.macosx-10.13-universal2/python3.12-standalone/app/collect/typeguard-4.3.0.dist-info/METADATA error: [Errno 17] File exists: '/Users/huangyanyan/Downloads/test/build/bdist.macosx-10.13-universal2/python3.12-standalone/app/collect/packaging-24.1.dist-info'
Looks like this is a duplicate of https://github.com/ronaldoussoren/py2app/issues/531
can you tell me if you find some ways to solve it and share with me please
The general solution in that other issue is to downgrade setuptools to 70.3.0.