0

我正在尝试运行以下代码:

# To use interactive plots (mouse clicks, zooming, panning) we use the nbagg back end. We want our graphs 
# to be embedded in the notebook, inline mode, this combination is  defined by the magic "%matplotlib notebook".
%matplotlib notebook

import SimpleITK as sitk

%run update_path_to_download_script
from downloaddata import fetch_data as fdata
import gui

# Using an external viewer (ITK-SNAP or 3D Slicer) we identified a visually appealing window-level setting
T1_WINDOW_LEVEL = (1050,500)

当我在蜘蛛 3.2.6 中运行它时,我得到: ModuleNotFoundError: No module named 'gui'

任何帮助,将不胜感激。

代码来源:http: //insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python_html/30_Segmentation_Region_Growing.html

4

1 回答 1

1

这不是间谍问题。

gui 模块笔记本存储库的一部分。克隆存储库或仅下载此文件。下载数据模块也是如此。

于 2018-07-16T13:41:46.183 回答