USGS EGIS web pages
EGIS Home
EGIS Support
Metadata
Training
Email Lists
Esri Events
External web pages
Esri Support
Esri Product Help
Esri GeoNet
GIS Stack Exchange
EGIS wiki space (here)
...
Code Block | ||||
---|---|---|---|---|
| ||||
# pyversions.py - report ArcGIS Python modulemodue versions # Example output (ArcGIS Pro 2.0 Python window): # C:\ArcGIS\Pro\bin\ArcGISPro.exe # Python 3.5.2 # |Continuum Analytics, Inc.| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] # matplotlib 1.5.3 # numpy 1.11.2 # scipy 0.18.1 import sys import os ff = "{} {}" try: print(sys.executable) print(ff.format("Python", sys.version.split("|")[0])) import matplotlib print(ff.format("matplotlib", matplotlib.__version__)) import numpy print(ff.format("numpy", numpy.__version__)) import scipy print(ff.format("scipy", scipy.__version__)) except: pass |
...