简体   繁体   English

使用conda-forge强制升级软件包时有破坏anaconda python的风险吗?

[英]Any risk of breaking anaconda python when force upgrading packages using conda-forge?

In my anaconda setup, some python packages like arrow in anaconda uses the pypi channel. 在我的anaconda设置中,anaconda中的arrow之类的一些python包使用pypi通道。 However, these packages are not the latest version. 但是,这些软件包不是最新版本。 The latest version is found in the conda-forge channel. 最新版本可在conda-forge频道中找到。 For example, to upgrade to the latest version of arrow using conda-forge, I run the following command; 例如,要使用conda-forge升级到最新版本的arrow,我运行以下命令;

$ conda install -c conda-forge arrow

There should be some reason why the default channel is pypi and not conda-forge. 默认频道为pypi而非conda-forge的原因应该有一定的原因。 So, will there be any risk of breaking anaconda packages if I were to force upgrade packages using conda-forge channel? 因此,如果我要使用conda-forge渠道强制升级软件包,会有破坏anaconda软件包的风险吗?

I installed anaconda 2018.12 which runs on Windows 10. 我安装了在Windows 10上运行的anaconda 2018.12。

The safest thing to do is to make a new env 最安全的做法是制作一个新的环境

conda create -n myenv -c conda-forge arrow

The most dangerous thing to do, in my anecdotal experience of seeing people on StackOverflow with broken Conda installations, is to install things in base . 在我的轶事经历中,最危险的事情是在StackOverflow上看到有人使用损坏的Conda安装程序,那就是将程序安装在base上 Unfortunately, this is what many Anaconda users do, likely because Anaconda distributes with everything installed in base already. 不幸的是,这是许多Anaconda用户所做的,这很可能是因为Anaconda分发时已经安装了所有安装在基础中的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 conda-forge 作为 Anaconda 的默认通道在 Mac Pro M1 上安装软件包 - Using conda-forge as default channel with Anaconda to install packages on Mac Pro M1 Anaconda-是否使用通道conda-forge破坏了整个环境? - Anaconda - is using channel conda-forge screwing up the whole environment? 为什么使用 conda-forge 时 anaconda install 返回不同的结果? - Why did anaconda install return different results when using conda-forge? 除非必要,否则如何避免使用 conda-forge 包? - How to avoid using conda-forge packages unless necessary? 当上传者为“ conda-forge”时,更新conda-forge中的软件包 - Update package in conda-forge, when uploader is “conda-forge” “conda install -c conda-forge python”导致 anaconda 分发停止工作 - "conda install -c conda-forge python" causes anaconda distribution to stop working 如何使用 conda-forge 而不是 anaconda 通道安装“conda update --all”? - How to get "conda update --all" to install using conda-forge instead of anaconda channel? 在 conda-forge 中找不到旧版本的 Python - Older versions of Python not found in conda-forge 在阻止 Amazon 云的企业防火墙后面使用 Anaconda 和 conda-forge - Using Anaconda with conda-forge behind a corporate firewall blocking Amazon cloud 使用conda-forge包替换pip包的简便方法 - Easy way to replace pip packages with conda-forge packages
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM