LoginSignup
97
76

More than 5 years have passed since last update.

pipインストール時のアクセス拒否の対応メモ

Last updated at Posted at 2019-05-02

はじめに

掲題のことが発生したので備忘録

環境

Windows 10
Anaconda

問題と対応

Anaconda環境でモジュールをpipでインストールした時に以下エラーが発生。権限の問題?

pip install pyswams

Could not install packages due to an EnvironmentError: [WinError 5] アクセスが拒否されました: 'C:\\Users\\XXX\\AppData\\Local\\Temp\\pip-uninstall-ywopbx45\\users\\XXX\\appdata\\local\\conda\\conda\\envs\\chemsyo\\lib\\site-packages\\scipy\\integrate\\lsoda.cp36-win_amd64.pyd'
Consider using the `--user` option or check the permissions.

--user をつけることで解決。

pip install pyswarms --user
97
76
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
97
76