诗歌更新访问被拒绝

Roe*_*ant 5 python python-poetry

我在 Windows 上的 conda 环境中使用诗歌。尽管我在提升的 shell 中工作(管理员权限),但我在涉及 的包(.dll例如 tensorflow 或 scipy.

conda create --name test python=3.7
conda activate test
pip install poetry
poetry add "tensorflow=1.5.1" scipy pandas
poetry install
poetry add "tensorflow=1.4.1"
poetry install 
Run Code Online (Sandbox Code Playgroud)

会归还我

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied:
Run Code Online (Sandbox Code Playgroud)

Roe*_*ant 0

因此,对于那些来到这里的人,我现在的行动计划是:

  1. 移至高架外壳
  2. 从应用程序数据中删除诗歌缓存。
  3. 反复运行poetry install。通常它每次都会在不同的包上失败。
  4. 如果全部失败,则通过使用pip install ...该包来作弊