如何卸载mini conda?蟒蛇

如何卸载mini conda?蟒蛇,第1张

如何卸载mini conda?蟒蛇

要卸载miniconda,只需删除

miniconda
文件夹,

rm -r ~/miniconda/

为了避免不同Python环境之间的冲突,可以使用虚拟环境。特别是对于Miniconda,可以使用以下工作流程,

$ wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh$ bash miniconda$ conda env remove --yes -n new_env    # remove the environement new_env if it exists (optional)$ conda create --yes -n new_env pip numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook seaborn python=2$ activate new_env$ # pip install modules if needed, run python scripts, etc  # everything will be installed in the new_env  # located in ~/miniconda/envs/new_env$ deactivate


欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/zaji/5662256.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-16

发表评论

登录后才能评论

评论列表(0条)

保存