twitter facebook

Could not install packages due to an EnvironmentError: [WinError 5] アクセスが拒否されました。

pip install opencv-contrib-python
Could not install packages due to an EnvironmentError: [WinError 5] アクセスが拒否されました。: 'D:\\app\\Anaconda3\\envs\\test3\\Lib\\site-packages\\cv2\\cv2.cp37-win_amd64.pyd' Consider using the `--user` option or check the permissions. You are using pip version 10.0.1, however version 18.0 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
pip install opencv-contrib-python --user
--user を付けるとホームディレクトリ以下にインストールされるので。管理者権限なども大丈夫になるようです。
AUTHOR
@hiropon
最終更新日 2018/09/18
FAVORITE good stock
LINK TAG
記法を見る