FAQ: Welche Version von Python wird in ArcGIS verwendet?
Frage
Welche Version von Python wird in ArcGIS verwendet?
Antwort
Die Programmiersprache Python wurde in jeder Version seit ArcGIS 9.0 verwendet. Sie wurde in die Setups von ArcGIS Desktop, ArcGIS Pro und ArcGIS Enterprise integriert. ArcGIS installiert die unten aufgeführten Versionen von Python.
Die Version von NumPy und Matplotlib ist in den meisten aktuellen Versionen Teil der Python-Umgebung.
Hinweis: Es wird davon abgeraten, eine unabhängige Version von Python zur Verwendung in ArcGIS Desktop zu installieren. Die Verwendung einer anderen Version von Python kann zu Kompatibilitätsproblemen oder zu Problemen mit dem Stammverzeichnis führen. Das Ersetzen der im Lieferumfang von ArcGIS Server enthaltenen Version von Python wird nicht unterstützt.
ArcGIS Pro
Sie können die Version von Python und seine Stack-Versionen ermitteln, indem Sie in der Anwendung das Python-Fenster durch Klicken auf Ansicht > Python öffnen und die folgenden Befehle eingeben:
import sys import matplotlib import numpy import scipy print(sys.version) print(matplotlib.__version__) print(numpy.__version__) print(scipy.__version__)
Mit den Befehlen wird die Python-Standardversion angezeigt, die für die Anwendung verwendet wird. In der folgenden Abbildung (ArcGIS Pro 2.5) lautet die Version von Python 3.6.9, gefolgt von den Versionen der Matplotlib, NumPy und SciPy-Pakete. Mit der Python-Umgebung sind auch viele weitere Pakete enthalten. Überprüfen Sie auf der Registerkarte Python in den ArcGIS Pro-Einstellungen die Version dieser Pakete.
Hinweis: Wenn in ArcGIS Pro 1.0 bis 1.2 Python außerhalb von ArcGIS Pro verwendet wird, muss Python for ArcGIS Pro installiert werden. Dies ist ab Version 1.3 nicht erforderlich.
ArcGIS Desktop
Versionen von ArcGIS Desktop | Versionen von Python und NumPy |
10.8.1 | Python 2.7.18 und NumPy 1.9.3 |
10.8 | Python 2.7.16 und NumPy 1.9.3 |
10.7.1 | Python 2.7.16 und NumPy 1.9.3 |
10.7 | Python 2.7.15 und NumPy 1.9.3 |
10.6.1 | Python 2.7.14 und NumPy 1.9.3 |
10.6 | Python 2.7.14 und NumPy 1.9.3 |
10.5.1 | Python 2.7.13 und NumPy 1.9.3 |
10.5 | Python 2.7.12 und NumPy 1.9.3 |
10.4.x | Python 2.7.10 und NumPy 1.9.2 |
10.3.x | Python 2.7.8 und NumPy 1.7.1 |
10.2.1 | Python 2.7.5 und NumPy 1.7.1 |
10.2.2 | Python 2.7.5 und NumPy 1.7.1 |
10.2 | Python 2.7.3 und NumPy 1.6.1 |
10.1 | Python 2.7.2 und NumPy 1.6.1 |
10.0 | Python 2.6.5 und NumPy 1.3.0 |
ArcGIS Enterprise
ArcGIS Enterprise wird auch mit Python bereitgestellt. In den letzten Versionen sind sowohl die Python 2.x- als auch die Python 3.x-Runtime enthalten.
Versionen von ArcGIS Enterprise | Versionen von Python, NumPy und Matplotlib |
10.9 | Python 2.7.18, NumPy 1.9.3, und matplotlib 1.5.2 |
10.9 | Python 3.7.9, NumPy 1.19.1 und matplotlib 3.3.1 |
10.8.1 | Python 2.7.18, NumPy 1.9.3, und matplotlib 1.5.2 |
10.8.1 | Python 3.6.10, NumPy 1.18.1 und matplotlib 3.2.1 |
10.8 | Python 2.7.16, NumPy 1.9.3 und matplotlib 1.5.2 |
10.8 | Python 3.6.9, NumPy 1.16.5 und matplotlib 3.1.1 |
10.7.1 | Python 2.7.16, NumPy 1.9.3 und matplotlib 1.5.2 |
10.7.1 | Python 3.6.8, NumPy 1.16.2, matplotlib 3.0.3 |
10.7 | Python 2.7.15, NumPy 1.9.3 und matplotlib 1.5.2 |
10.7 | Python 3.6.6, NumPy 1.15.1, matplotlib 2.2.3 |
10.6.1 | Python 2.7.14, NumPy 1.9.3 und matplotlib 1.5.2 |
10.6.1 | Python 3.6.5, NumPy 1.14.2, matplotlib 2.2.2 |
10.6 | Python 2.7.14, NumPy 1.9.3 und matplotlib 1.5.2 |
10.6 | Python 3.6.2 |
10.5.1 | Python 2.7.13, NumPy 1.9.3 und matplotlib 1.5.2 |
10.5.1 | Python 3.5.3 |
10.5 | Python 2.7.12, NumPy 1.9.3 und matplotlib 1.5.2 |
10.5 | Python 3.5.2 |
10.4 und 10.4.1 | Python 2.7.10, NumPy 1.9.2 und matplotlib 1.4.3 |
10.4 und 10.4.1 | Python 3.4.1 |
10.3.x | Python 2.7.8, NumPy 1.7.1 und matplotlib 1.3.0 |
10.2.1 und 10.2.2 | Python 2.7.5 und NumPy 1.7.1 |
10.2 | Python 2.7.3 und NumPy 1.6.1 |
10.1 | Python 2.7.2 und NumPy 1.6.1 |
10.0 | Python 2.6.5 und NumPy 1.3.0 |
ArcGIS Notebook Server
Jede Notebook-Runtime in ArcGIS Notebook Server enthält eine genaue Liste der Python-Bibliotheken, jeweils einschließlich einer spezifischen Version. Wenn Sie eine Bibliothek benötigen, die standardmäßig in keiner der Runtimes enthalten ist, können Sie eine Notebook-Runtime erweitern, um diese einzubinden. Unter ArcGIS Notebook Server: Verfügbare Python-Bibliotheken finden Sie eine umfassende Liste der in der jeweiligen Standard-Runtime gepackten Python-Bibliotheken.
Related Information
- ArcGIS Pro: Python in ArcGIS Pro
- ArcMap: ArcGIS 10.3.x for Desktop – Systemanforderungen
- ArcMap: ArcGIS 10.4.x for Desktop – Systemanforderungen
- ArcMap: ArcGIS Desktop 10.5.x – Systemanforderungen
- ArcMap: ArcGIS Desktop 10.6.x – Systemanforderungen
- ArcMap: ArcGIS Desktop 10.7.x – Systemanforderungen
- ArcMap: ArcGIS Desktop 10.8.x – Systemanforderungen
- ArcGIS Notebook Server: Verfügbare Python-Bibliotheken
Zuletzt geändert: 7/27/2022
Artikel-ID: 000013224
Software: and prior) 10, ArcGIS Desktop 10, ArcGIS Enterprise 10.6.1, 10.6, 10.5.1 ArcGIS for Desktop 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1 ArcGIS GIS Server 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1, (10.0, ArcGIS Server 11, 10.9.1, 10.9, 10.8.1, 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 Desktop 10.6.1, 10.6, 10.5.1 ArcGIS Pro 3.0, 2.9.3, 2.9.2, 2.9.1, 2.9, 2.8.7, 2.8.6, 2.8.5, 2.8.4, 2.8.3, 2.8.2, 2.8.1, 2.8, 2.7.7, 2.7.6, 2.7.5, 2.7.4, 2.7.3, 2.7.2, 2.7.1, 2.7, 2.6.9, 2.6.8, 2.6.7, 2.6.6, 2.6.5, 2.6.4, 2.6.3, 2.6.2, 2.6.10, 2.6.1, 2.6, 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