在离线模式下具有3.x和3.y anaconda版本 [英] have 3.x and 3.y anaconda version on offline mode
问题描述
我发布了这个问题几个天前,有关在Anaconda的2个版本之间进行切换.
I posted this question few days ago about switching between 2 versions of Anaconda.
我现在要寻找的是理解为什么在尝试以离线模式创建python 3.5环境时遇到错误:
what I'm looking for now is to understand why I got an erreur where I tried to create python 3.5 environment on off line mode:
#conda create -n py35 python=3.5 anaconda --offline Fetching package
metadata ... Solving package specifications: . PackageNotFoundError: Package not found: '' Package missing in current linux-64 channels:
- python 3.5*
You can search for packages on anaconda.org with
anaconda search -t conda python
我应该安装内容为python 3.5的其他版本的Anaconda还是当前版本的Anaconda具有python 3的所有子版本(即3.6 3.5 3.4 ....)?
should I install an additional version of Anaconda which contents python 3.5 or the present version Anaconda has all subversion of python 3 (i.e 3.6 3.5 3.4 ....) ?
推荐答案
否,Python 3.5是numpy,pandas等软件包.您需要下载该软件包并进行安装.您不应该安装单独的Anaconda版本来获取新版本的Python.
No, Python 3.5 is a package like numpy, pandas, etc. You need to download the package an install it. You should not install a separate version of Anaconda to get a new version of Python.
您可以通过取消任何软件包规格来创建一个空环境,然后将所需的任何东西安装到该环境中.
You can create an empty environment by leaving off any package specifications, then install whatever you want into the environment.
conda create -n py35 --offline
conda install --offline -n py35 python-3.5.tar.bz2
这篇关于在离线模式下具有3.x和3.y anaconda版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!