ERROR: Could not install packages due to an OSError: [WinError 5] アクセスが拒否されました。: 'C:\\\\Python312\\\\share' Consider using the `--user` option or check the permissions.
インストール時に--userをつける
--user
例 matplotlibインストール時
pip install matplotlib --user
pipインストール時のアクセス拒否の対応メモ - Qiita