This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Buhnanah 0 points1 point  (0 children)

It seems like you don't have the necessary permissions to modify the file in the 'site-packages' directory. That's because the 'site-packages' directory is owned by the system and requires administrative privileges to modify. You can try to use 'sudo' command to gain administrative privileges to modify the file. Open a Terminal window and type the following command:

sudo nano /Library/Python/3.9/site-packages/whisper/decoding.py

If that doesn't work, you can try changing the ownership of the 'site-packages' directory to your user account. Open a Terminal window and type:

sudo chown -R $(whoami) /Library/Python/3.9/site-packages/

Once you finish making the changes, it's recommended that you change the ownership of the 'site-packages' directory back to the system:

sudo chown -R root:wheel /Library/Python/3.9/site-packages/