laptop and a wrench

不具合

The add_layer function from the WebMap class of the arcgis.mapping module returns the error message, "ModuleNotFoundError: No module named 'arcgis.realtime.StreamLayer'" when running in ArcGIS Pro 3.0.x.

最後に公開された状態: January 31, 2023 ArcGIS Pro
不具合 ID 番号 BUG-000154675
送信されましたDecember 21, 2022
最終更新日June 9, 2025
適用対象ArcGIS Pro
見つかったバージョン3.0.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョン2.2.0
ステータスFixed

対処法

  1. Under ArcGIS Pro's active conda environment, open the file, "Lib/site-packages/arcgis/mapping/_types.py".
  2. Comment out line 31, the line that starts with StreamLayer.
  3. Add the line "from arcgis.realtime import StreamLayer".
  4. Restart ArcGIS Pro.

再現の手順

不具合 ID: BUG-000154675

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動