Conda - 离线安装/更新

时间:2023-03-02
本文介绍了Conda - 离线安装/更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试离线更新 Anaconda/conda 中的 xlwings.

解决方案

首先下载相关的package-name.tar.bz2文件,(来自anaconda 存储库)

打开命令提示符,cd 到相应目录并输入

conda install package-name.tar.bz2

这应该可行.

I'm trying to offline update xlwings in Anaconda / conda.

From https://pypi.python.org/pypi/xlwings, I downloaded the most recent package, and put it into "C:Program FilesAnaconda2pkgs"

From Cmd, I've tried a number of different combinations, but I can't seem to get it to update the package... For example:

1) conda install xlwings --offline
2) conda install xlwings --offline xlwings-0.10.2.tar.gz
3) conda update xlwings --offline
4) conda update xlwings --offline xlwings-0.10.2.tar.gz

Attempts 2 & 4 (I've tried using the full directory for these as well) result in unrecognized command.

Attempts 1 & 3 results in:

解决方案

First download the rellevant package-name.tar.bz2 file, (from anaconda repository)

Open command prompt, cd to apropiate directory and type

conda install package-name.tar.bz2

This should work.

这篇关于Conda - 离线安装/更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

上一篇:如何在 anaconda 中升级 scikit-learn 软件包 下一篇:Python在Conda环境中,但在Windows虚拟环境中没有激

相关文章

最新文章