Conda-离线安装/更新 [英] Conda - offline install / update

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

问题描述

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

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

我从 https://pypi.python.org/pypi/xlwings 下载了最新的软件包,并将其放入"C:\ Program Files \ Anaconda2 \ pkgs"

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

我从Cmd尝试了许多不同的组合,但是我似乎无法通过它来更新软件包...例如:

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

尝试2& 4(我也尝试过使用完整目录)导致无法识别的命令.

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

尝试1& 3个结果:

Attempts 1 & 3 results in:

提前谢谢!

推荐答案

首先下载rellevant package-name.tar.bz2文件,(从 anaconda存储库)

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

打开命令提示符,cd到适当的目录并键入

Open command prompt, cd to apropiate directory and type

conda install package-name.tar.bz2

这应该有效.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆