62
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

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

はじめに

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

環境

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
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
62
Help us understand the problem. What are the problem?