【发布时间】:2021-12-27 23:12:24
【问题描述】:
所以我使用 miniconda 并尝试从 conda-forge 安装 pyperclip 但我错误地将名称大写,所以我运行:
conda install -c Conda-Forge pyperclip
(注意大写字母)。输出是:
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\Users\USUARIO\miniconda3
added / updated specs:
- pyperclip
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2021.10.8 | h5b45459_0 176 KB Conda-Forge
certifi-2021.10.8 | py39hcbf5309_1 145 KB Conda-Forge
conda-4.11.0 | py39hcbf5309_0 16.8 MB Conda-Forge
openssl-1.1.1l | h8ffe710_0 5.7 MB Conda-Forge
pyperclip-1.8.2 | pyhd8ed1ab_2 14 KB Conda-Forge
------------------------------------------------------------
Total: 22.9 MB
The following NEW packages will be INSTALLED:
pyperclip Conda-Forge/noarch::pyperclip-1.8.2-pyhd8ed1ab_2
The following packages will be SUPERSEDED by a higher-priority channel:
ca-certificates conda-forge --> Conda-Forge
certifi conda-forge --> Conda-Forge
conda conda-forge --> Conda-Forge
openssl conda-forge --> Conda-Forge
我怀疑它正在尝试安装 openssl,所以我取消并重新输入了正确大小写的命令:
conda install -c conda-forge pyperclip
得到以下结果:
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\Users\USUARIO\miniconda3
added / updated specs:
- pyperclip
The following packages will be downloaded:
package | build
---------------------------|-----------------
pyperclip-1.8.2 | pyhd8ed1ab_2 14 KB conda-forge
------------------------------------------------------------
Total: 14 KB
The following NEW packages will be INSTALLED:
pyperclip conda-forge/noarch::pyperclip-1.8.2-pyhd8ed1ab_2
谁能解释一下? conda-forge和Conda-Forge有什么区别?
【问题讨论】:
-
看起来不错,anaconda.org/Conda-Forge 与 anaconda.org/conda-forge 相同。另请注意,当它尝试执行
conda-forge --> Conda-Forge时,它实际上并没有安装任何新版本或这些软件包的构建,它只是表明频道看起来不同。
标签: python anaconda conda conda-forge