py2app icon indicating copy to clipboard operation
py2app copied to clipboard

error: [Errno 13] Permission denied: 'build/bdist.macosx-10.14-intel/python2.7-standalone/app/lib-dynload'

Open Dog517 opened this issue 3 years ago • 3 comments

Hello, whenever I try to build my app, it says :

error: [Errno 13] Permission denied: 'build/bdist.macosx-10.14-intel/python2.7-standalone/app/lib-dynload'

and its driving me nuts! Can anyone help?

Dog517 avatar May 25 '22 15:05 Dog517

Is this something you can reproduce in a project that you can share publicly?

Btw. Please consider moving away from Python 2.7, maintenance on Python 2 has stopped in 2020 and the next feature release of py2app will no longer support Python 2.

ronaldoussoren avatar May 26 '22 08:05 ronaldoussoren

But i am on python 3 i thought...

Dog517 avatar May 26 '22 14:05 Dog517

Interesting. The error message mentions "python2.7-standalone" which should only happen when using Python 2.7.

Could you check if removing the "build" and "dist" folders fixes the problem?

Also check if you have an active virtual environment if you start python3 using "python". That's something that has bitten me multiple times, and continues to do so from time to time.

ronaldoussoren avatar May 27 '22 07:05 ronaldoussoren