Conda
安装软件出现提示:
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
需要升级Conda
版本,升级流程:
首先conda update
(注意在base
环境下),看一下系统给的更新命令:
conda update --prefix /Users/mcj/opt/anaconda3 anaconda
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
(base) # mcj @ machunjiedeMacBook-Pro in ~/Downloads [22:02:46] $ conda update CondaValueError: no package names supplied # If you want to update to a newer version of Anaconda, type: # # $ conda update --prefix /Users/mcj/opt/anaconda3 anaconda (base) # mcj @ machunjiedeMacBook-Pro in ~/Downloads [22:02:52] C:1 $ conda update --prefix /Users/mcj/opt/anaconda3 anaconda Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.8.2 latest version: 22.11.1 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: /Users/mcj/opt/anaconda3 added / updated specs: - anaconda The following packages will be downloaded: package | build ---------------------------|----------------- _anaconda_depends-2022.05 | py37_0 7 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main aiohttp-3.8.3 | py37h6c40b1e_0 426 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main aiosignal-1.2.0 | pyhd3eb1b0_0 12 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main alabaster-0.7.12 | py37_0 18 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main anaconda-custom | py37_1 3 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main anaconda-client-1.11.0 | py37hecd8cb5_0 148 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main |
然后conda update --all
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# mcj @ machunjiedeMacBook-Pro in ~/Downloads [22:26:53] $ conda update --all Collecting package metadata (current_repodata.json): done Solving environment: | Warning: 2 possible package resolutions (only showing differing packages): - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-64::cython-0.29.28-py37he9d5cce_0, http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-64::gensim-4.2.0-py37he9d5cce_0 - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-64::cython-0.29.32-py37he9d5cce_0, http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-64::gensim-4.1.2-py37he9d5ccedone ## Package Plan ## environment location: /Users/mcj/opt/anaconda3 The following packages will be downloaded: package | build ---------------------------|----------------- _ipyw_jlab_nb_ext_conf-0.1.0| py37hecd8cb5_1 5 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main anaconda-navigator-2.3.2 | py37hecd8cb5_0 6.5 MB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main cctools-949.0.1 | h9abeeb2_25 18 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main cctools_osx-64-949.0.1 | hc7db93f_25 1.3 MB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda-build-3.23.3 | py37hecd8cb5_0 566 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda-env-2.6.0 | 1 3 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda-repo-cli-1.0.24 | py37hecd8cb5_0 115 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main conda-verify-3.4.2 | py_1 27 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main flask-1.1.2 | pyhd3eb1b0_0 70 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main jinja2-2.10.1 | py37_0 195 KB http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main |
OK
了,问题解决。
本文最后更新于2022年12月19日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!