[英]Having Trouble Installing Pillow in PyCharm using Anaconda enviroment
我正在嘗試為我正在使用 PyCharm 和 Anaconda 做的項目安裝枕頭,但遇到了一些問題......基本上,當我嘗試在我的 anaconda 環境中安裝枕頭時,它說枕頭已經下載。 但是,當我在 PyCharm 中運行代碼時,它說沒有安裝枕頭並詢問我是否要安裝它。 我點擊安裝包,這是我得到的錯誤:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- pil
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://conda.anaconda.org/sunpy/win-64
- https://conda.anaconda.org/sunpy/noarch
- https://conda.anaconda.org/cctbx/win-64
- https://conda.anaconda.org/cctbx/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
我嘗試使用不同的渠道:
conda config --append channels (whatever channel)
我嘗試使用的頻道是 sunpy 和 cctbx
我對此有點困惑,因此非常感謝任何幫助。 謝謝!
結果我只需要使用pillow
而不是pil
。 似乎是一個簡單的小錯誤,但當...真的讓我感到困惑。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.