anaconda search -t conda XXXX 命令用于搜索到相关包的各种版本的列表
anaconda search -t conda pyahocorasick
输出如下:
Packages: Name | Version | Package Types | Platforms | Builds ------------------------- | ------ | --------------- | --------------- | ---------- conda-forge/pyahocorasick | 1.4.0 | conda | linux-64, win-32, win-64, osx-64 | py37h9bfed18_1, py36h97a6639_2, py36h14c3975_0, py36h68a101e_1, py36h14c3975_1000, py36h37b9a7d_1, py36_0, py36hfa6e2cd_0, py35h470a237_0, py27h14c3975_0, py37h470a237_0, py38h1e0a361_1, py27h0c8e037_1000, py27h1de35cc_0, py27h14c3975_1000, py35hfa6e2cd_0, py37h1de35cc_1000, py38h0b31af3_0, py38h1e0a361_2, py36h1de35cc_0, py27h89ed719_1, py36h1de35cc_1000, py27_0, py39h07f9747_2, py38h9de7a3e_1, py39hb5aae12_2, py38h4d0b108_2, py37h14c3975_0, py37h4ab8f01_2, py37h60d8a13_2, py37h0b31af3_0, py38h64e0658_1, py37h8f50634_1, py37h8f50634_2, py36h97a6639_1, py36h516909a_0, py38hfa6e2cd_0, py37h516909a_0, py36hfa6e2cd_1000, py39h4cdbadb_2, py37h8055547_1, py36h8c4c3a4_1, py27hdf8410d_1, py36h470a237_0, py37hfa6e2cd_1000, py36h0b31af3_0, py36h8c4c3a4_2, py36h9de38fb_2, py37h1de35cc_0, py36hae792fc_2, py37h14c3975_1000, py36h67ae4cd_1, py27h516909a_0, py37hfa6e2cd_0, py27h462b5f4_1, py27h0b31af3_0, py38h516909a_0, py38h1e8a9f7_2, py27h470a237_0, py27h1de35cc_1000, py36h779f372_2, py35_0, py27h0c8e037_0 : Python module (C extension and plain python) implementing Aho-Corasick algorithm. estnltk/pyahocorasick | 1.1.6 | conda | linux-64, win-32, win-64, osx-64 | py36_0, 3.5, py35_0, py27_0 urdvr/pyahocorasick | 1.1.4 | conda | linux-64 | py36_0 Found 3 packages Run 'anaconda show' to get installation details
选择其中的conda-forge/pyahocorasick安装:
conda install -c https://conda.anaconda.org/conda-forge pyahocorasick
说明:-c用于自主选择channel
输出如下:
Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.10.1 latest version: 4.11.0 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: /Users/xxx/opt/anaconda3 added / updated specs: - pyahocorasick The following packages will be downloaded: package | build ---------------------------|----------------- conda-4.11.0 | py38h50d1736_0 16.9 MB conda-forge pyahocorasick-1.4.0 | py38h4d0b108_2 32 KB conda-forge python_abi-3.8 | 2_cp38 4 KB conda-forge ------------------------------------------------------------ Total: 16.9 MB The following NEW packages will be INSTALLED: pyahocorasick conda-forge/osx-64::pyahocorasick-1.4.0-py38h4d0b108_2 python_abi conda-forge/osx-64::python_abi-3.8-2_cp38 The following packages will be UPDATED: conda pkgs/main::conda-4.10.1-py38hecd8cb5_1 --> conda-forge::conda-4.11.0-py38h50d1736_0 Proceed ([y]/n)? y Downloading and Extracting Packages pyahocorasick-1.4.0 | 32 KB | ########################################################################################################################################### | 100% conda-4.11.0 | 16.9 MB | ########################################################################################################################################### | 100% python_abi-3.8 | 4 KB | ########################################################################################################################################### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)