我注意到一个奇怪的行为。我在conda update --all
环境中运行base
,并得到以下输出:
The following packages will be downloaded:
package | build
---------------------------|-----------------
conda-4.8.3 | py37_0 2.8 MB
idna-2.9 | py_1 49 KB
pycparser-2.20 | py_0 92 KB
tqdm-4.43.0 | py_0 56 KB
------------------------------------------------------------
Total: 3.0 MB
我没有安装tqdm
软件包,尽管conda
更新了它。为什么会这样呢?当我运行conda list -n base
时,没有包tqdm
,在任何其他环境中都没有。
谢谢!
答案 0 :(得分:2)
conda取决于conda-package-handling
conda-package-handling取决于tqdm
如果您不认为已安装,则需要仔细看。 conda update --all
将尝试更新您已安装的所有内容。
$ conda search conda=4.8.3=py37_0 --info
Loading channels: done
conda 4.8.3 py37_0
------------------
file name : conda-4.8.3-py37_0.conda
name : conda
version : 4.8.3
build : py37_0
build number: 0
size : 2.8 MB
license : BSD 3-Clause
subdir : linux-ppc64le
url : https://repo.anaconda.com/pkgs/main/linux-ppc64le/conda-4.8.3-py37_0.conda
md5 : 50d4443514e3e27b11228cee8aef3653
timestamp : 2020-03-13 16:59:23 UTC
constraints :
- conda-build >=3
- conda-env >=2.6
- cytoolz >=0.8.1
dependencies:
- conda-package-handling >=1.3.0
- pycosat >=0.6.3
- pyopenssl >=16.2.0
- python >=3.7,<3.8.0a0
- requests >=2.18.4,<3
- ruamel_yaml >=0.11.14,<0.16
- setuptools >=31.0.1
$ conda search conda-package-handling=1.3.0=py37_0 --info
Loading channels: done
conda-package-handling 1.3.0 py37_0
-----------------------------------
file name : conda-package-handling-1.3.0-py37_0.tar.bz2
name : conda-package-handling
version : 1.3.0
build : py37_0
build number: 0
size : 252 KB
license : BSD-3-Clause
subdir : linux-ppc64le
url : https://repo.anaconda.com/pkgs/main/linux-ppc64le/conda-package-handling-1.3.0-py37_0.tar.bz2
md5 : 0bcb9ed3ca68eb7fa5d1c4a7ede55de1
timestamp : 2019-06-10 18:58:25 UTC
dependencies:
- libarchive >=3.3.3
- python >=3.7,<3.8.0a0
- python-libarchive-c
- six
- tqdm