Pyinstaller Permissionerror: [errno 1] Operation Not Permitted: '/users/user_name/dist/
Solution 1:
I was able to get around this by manually deleting all files in the target directory before running Pyinstaller again. Give it a try.
Solution 2:
pyinstaller is probably trying to write files to a directory /Users/my_username/dist
where you don't have write access.
You can either retry with superuser permissions (i.e. sudo
) or try something like brew
instead.
Solution 3:
I had success by changing the properties of the directory where DIST and BUILD folders are created.
Locate and select the directory in Finder and open its porperties window (CMD + I) Open up the Sharing and permission panel by clicking on the down arrow Click on the padlock and enter your computer password to make changes Click on Everyone and then select Read and Write from the dropdown Click on the small cog and select Apply to enclosed items
Delete the DIST and BUILD folders and try again
Post a Comment for "Pyinstaller Permissionerror: [errno 1] Operation Not Permitted: '/users/user_name/dist/"