简体   繁体   English

如何检查安装在 Windows 10 PC 上的 python anaconda 版本?

[英]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 -Vconda --version获取 conda 版本。
  • python -V or python --version to get the python version. python -Vpython --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.

相关问题 如何将 anaconda 环境克隆到另一台 Windows 10 PC? - How to clone anaconda environment to another Windows 10 PC? anaconda 版本和我安装的 python 版本 - anaconda version and my installed python version 在命令行上,Windows 10 不显示安装了哪个 Python 版本 - On a command line Windows 10 doesnt show which Python version is installed 无法安装 Django 版本 1.11.22 和 windows 10 上安装的 python 2.7 - Unable to install Django Version 1.11.22 with python 2.7 installed on windows 10 如何在没有互联网/Anaconda(或任何类似的免费软件)的 Windows 10 PC 中安装 Pandas? - How to install pandas in a Windows 10 PC without internet/Anaconda(or any similar freeware)? Anaconda Navigator(版本 1.9.12)未在 Windows 中升级 10 - Anaconda Navigator(version 1.9.12) not upgrading in Windows 10 Anaconda是否安装了适用于Python 3.7的Pygame版本? - Is there an appropriate version of Pygame for Python 3.7 installed with Anaconda? Python - 如何在Windows 10上完全卸载Anaconda? - Python - How can I completely uninstall Anaconda on Windows 10? 如何在 Windows 10 中从 Anaconda 3 中删除 Python 环境 - How to remove Python Environment from Anaconda 3 in Windows 10 如何在 Windows 10 上从 Anaconda 卸载 pip opencv-python? - How to uninstall pip opencv-python from Anaconda on Windows 10?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM