laptop and a wrench

不具合

The magic command (%run) fails in the ArcGIS Pro Jupyter Notebooks with the error "Exception: File' 'Notebook1.py' 'not found."

ArcGIS Pro
不具合 ID 番号 BUG-000171913
送信されましたOctober 30, 2024
最終更新日May 30, 2025
適用対象ArcGIS Pro
見つかったバージョン3.3.2
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
ステータスKnown Limit

参考情報

When using the %run magic command, the execution context differs within an ArcGIS Pro project from where it would be if initializing a standalone notebook environment and can't reliably be located via relative paths. To call with %run, a full path should be specified, specifically in the format of double backslashed paths like '%run "C:\\Users\\username\\Documents\\ArcGIS\\Projects\\nb-run-across-files\\Notebook1.ipynb'. The run command does not accept raw strings (r-prefix strings) and specifically requires the double-backslash format. With that format, it can be used in the desired workflow.

再現の手順

不具合 ID: BUG-000171913

ソフトウェア:

  • ArcGIS Pro

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

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

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

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

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

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

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