常见问题解答:ArcGIS 中使用的 Python 是什么版本?
问题
常见问题解答:ArcGIS 中使用的 Python 是什么版本?
答案
Python 编程语言用于自 9.0 起的各版本 ArcGIS 中,并被整合到 ArcMap 和 ArcGIS for Server 的自动安装中。 ArcGIS 将在完整安装过程中安装下列 Python 版本。
以下所列为用于自 10.0 起的各版本 ArcGIS 中的 Python 版本。
注:
建议不要安装用于 ArcGIS 的独立版本 Python。 使用不同版本的 Python 会导致兼容性问题和根文件夹问题。
ArcGIS Pro
可以通过在应用程序中打开 Python 窗口(“视图”> Python),并键入以下命令来确定 Python 版本及其堆栈版本:
import sys
import matplotlib
import numpy
import scipy
print(sys.version)
print(matplotlib.__version__)
print(numpy.__version__)
print(scipy.__version__)
这些命令将显示与应用程序配合使用的默认 Python 版本。 在下图中 (ArcGIS Pro 2.1),Python 的版本为 3.6.2,其后依次为 matplotlib、numpy 和 scipy 的版本。
注:
在 ArcGIS Pro 1.0 到 1.2 版本中,如果在 ArcGIS Pro 之外使用 Python,则需要安装 Python for ArcGIS Pro。 在版本 1.3 及更高版本中,无需执行此操作。
ArcGIS (for) Desktop
10.6.1 - Python 2.7.14 和 Numerical Python 1.9.3
10.6 - Python 2.7.14 和 Numerical Python 1.9.3
10.5.1 - Python 2.7.13 和 Numerical Python 1.9.3
10.5 - Python 2.7.12 和 Numerical Python 1.9.3
10.4.x - Python 2.7.10 和 Numerical Python 1.9.2
10.3.x - 需要 Python 2.7.x 和 Numerical Python 1.7.x;如果不符合版本要求,则安装 Python 2.7.8 和 Numerical Python 1.7.1
10.2.x - Python 2.7.5 和 Numerical Python 1.7.1
10.2 - Python 2.7.3 和 Numerical Python 1.6.1
10.1 - Python 2.7.2 和 Numerical Python 1.6.1
10 - Python 2.6.5 和 Numerical Python 1.3.0
ArcGIS Enterprise/ArcGIS Server
10.6.1 - Python 2.7.14、Numerical Python 1.9.3 和 Matplotlib 1.5.2
10.6 - Python 2.7.14、Numerical Python 1.9.3 和 Matplotlib 1.5.2
10.5.1 - Python 2.7.13、Numerical Python 1.9.3 和 Matplotlib 1.5.2
10.5 - Python 2.7.12、Numerical Python 1.9.3 和 Matplotlib 1.5.2
10.4.x - Python 2.7.10、Numerical Python 1.9.2 和 Matplotlib 1.4.3
10.3.x - Python 2.7.8、Numerical Python 1.7.1 和 Matplotlib 1.3.0
10.2.x - Python 2.7(64 位)
10.1 - Python 2.7(64 位)
10 - Python 2.6.5 和 Numerical Python 1.3.0
Related Information
上次修改时间: 6/26/
文章 ID: 000013224
软件: ArcGIS Pro 2.5.2, 2.5.1, 2.5, 2.4.3, 2.4.2, 2.4.1, 2.4, 2.3.3, 2.3.2, 2.3.1, 2.3, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2, 2.1.3, 2.1.2, 2.1.1, 2.1, 2.0.1, 2.0, 1.4.1, 1.4, 1.3.1, 1.3, 1.2 ArcMap 10.8, 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1, 10
此内容是否有用?
翻译反馈
如果觉得《arcgis支持python3吗_常见问题解答:ArcGIS 中使用的 Python 是什么版本?》对你有帮助,请点赞、收藏,并留下你的观点哦!