[英]How to check python anaconda version installed on Windows 10 PC?
I have a Windows 10 PC with python anaconda installed.我有一台安装了 python anaconda 的 Windows 10 PC。 The latest anaconda version is v5.0.1最新的anaconda版本是v5.0.1
I would like to find out whether the PC has the latest version v5.0.1 installed and whether it is 32-bit/64bit or python 2.7/3.6.我想知道PC是否安装了最新版本的v5.0.1,是32位/64位还是python 2.7/3.6。 How do I do that?我该怎么做?
https://www.anaconda.com/download/ https://www.anaconda.com/download/
On the anaconda prompt, do a在 anaconda 提示符下,执行
conda -V
or conda --version
to get the conda version. conda -V
或conda --version
获取 conda 版本。python -V
or python --version
to get the python version. python -V
或python --version
获取 python 版本。conda list anaconda$
to get the Anaconda version. conda list anaconda$
获取 Anaconda 版本。conda list
to get the Name, Version, Build & Channel details of all the packages installed (in the current environment). conda list
以获取所有已安装软件包的名称、版本、构建和渠道详细信息(在当前环境中)。conda info
to get all the current environment details. conda info
以获取所有当前环境详细信息。conda info --envs
To see a list of all your environments conda info --envs
查看所有环境的列表Detailed description here , download cheat sheet from here详细说明在这里,从这里下载备忘单
The folder containing your Anaconda installation contains a subfolder called conda-meta
with json files for all installed packages, including one for Anaconda itself.包含 Anaconda 安装的文件夹包含一个名为conda-meta
的子文件夹,其中包含所有已安装软件包的 json 文件,包括 Anaconda 本身的一个。 Look for anaconda-<version>-<build>.json
.查找anaconda-<version>-<build>.json
。
My file is called anaconda-5.0.1-py27hdb50712_1.json
, and at the bottom is more info about the version:我的文件名为anaconda-5.0.1-py27hdb50712_1.json
,底部是有关版本的更多信息:
"installed_by": "Anaconda2-5.0.1-Windows-x86_64.exe",
"link": { "source": "C:\\ProgramData\\Anaconda2\\pkgs\\anaconda-5.0.1-py27hdb50712_1" },
"name": "anaconda",
"platform": "win",
"subdir": "win-64",
"url": "https://repo.continuum.io/pkgs/main/win-64/anaconda-5.0.1-py27hdb50712_1.tar.bz2",
"version": "5.0.1"
(Slightly edited for brevity.) (为简洁起见略作编辑。)
The output from conda -V
is the conda version. conda -V
的输出是 conda 版本。
如果你想在特定的 conda 环境中检查 python 版本,你也可以使用conda list python
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.