ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/Users/mac/Library/Python/3.9' Check the permissions. code example
Example: ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/3.8' Consider using the `--user` option or check the permissions.
pip3 install package_name --user