ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

GetInstallInfo

  • 概要
  • 構文
  • コードのサンプル

概要

Returns a dictionary that contains information about the installation.

構文

GetInstallInfo ()

戻り値

データ タイプ説明
Dictionary

The function returns a dictionary containing the properties of the installation.

The dictionary keys are as follows:

  • BuildNumber—The build number.
  • InstallDate—The installation date.
  • InstallDir—The installation location.
  • InstallTime—The time of installation.
  • InstallType—The installation type (or N/A).
  • Installer—The installer of the installation.
  • ProductName—The product installed (Desktop, Server, Engine, or ArcGISPro).
  • SPBuild—The service pack build (or N/A).
  • SPNumber—The service pack build number (or N/A).
  • SourceDir—The source directory.
  • Version—The product version.

メモ:

Starting at ArcGIS Desktop 10.8.2, the version key returns a value that starts with 10.9.

コードのサンプル

GetInstallInfo example

Return installation information.

import arcpy

# Use the dictionary iteritems to iterate through the key/value pairs from 
# GetInstallInfo.
d = arcpy.GetInstallInfo()
for key, value in list(d.items()):
    # Print a formatted string of the install key and its value
    print("{:<13} : {}".format(key, value))
GetInstallInfo example 2

Return the product version.

import arcpy
print(arcpy.GetInstallInfo()['Version'])

関連トピック

  • ListInstallations
  • Python でのライセンスおよびエクステンションへのアクセス

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル