###????Pythonに関する質問です。pooch_version = pooch.version.lstrip('v')
###AttributeError: module 'pooch' has no attribute 'version'
ArcGISおよびPython初心者です。
ArcGISを用いて、ImageAnalystツールの中のTrain Deep Learning Modelを実行するために、まず、入力データを入れた際に以下のようなPythonに関連したエラーが出ました。
このようなエラーが出た際にはどのように対処すればよいのでしょうか?
詳しい方いましたら、ご指摘お願いします。
updateParameters Error: Traceback (most recent call last): File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.validate.py", line 427, in <module> File "c:\program files\arcgis\pro\Resources\ArcToolbox\toolboxes\Image Analyst Tools.tbx\TrainDeepLearningModel.tool\tool.script.validate.py", line 158, in updateParameters import arcgis.learn File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\__init__.py", line 10, in <module> from . import (mapping, apps, learn) File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\learn\__init__.py", line 13, in <module> from .models import SingleShotDetector, UnetClassifier, FeatureClassifier, RetinaNet, \ File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\learn\models\__init__.py", line 4, in <module> from ._ssd import SingleShotDetector File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\learn\models\_ssd.py", line 1, in <module> from ._arcgis_model import ArcGISModel, _get_device File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\learn\models\_arcgis_model.py", line 50, in <module> from ._pointcnn_utils import AverageMetric File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\learn\models\_pointcnn_utils.py", line 8, in <module> from torch_geometric.nn import fps, knn File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\torch_geometric\__init__.py", line 5, in <module> import torch_geometric.transforms File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\torch_geometric\transforms\__init__.py", line 35, in <module> from .to_superpixels import ToSLIC File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\torch_geometric\transforms\to_superpixels.py", line 6, in <module> from skimage.segmentation import slic File "C:\Users\AppData\Roaming\Python\Python37\site-packages\skimage\__init__.py", line 135, in <module> from .data import data_dir File "C:\Users\AppData\Roaming\Python\Python37\site-packages\skimage\data\__init__.py", line 166, in <module> image_fetcher, data_dir = create_image_fetcher() File "C:\Users\AppData\Roaming\Python\Python37\site-packages\skimage\data\__init__.py", line 117, in create_image_fetcher pooch_version = pooch.__version__.lstrip('v') AttributeError: module 'pooch' has no attribute '__version__'
試したこと
import skimage Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\nabe6\AppData\Roaming\Python\Python37\site-packages\skimage\__init__.py", line 135, in <module> from .data import data_dir File "C:\Users\nabe6\AppData\Roaming\Python\Python37\site-packages\skimage\data\__init__.py", line 166, in <module> image_fetcher, data_dir = create_image_fetcher() File "C:\Users\nabe6\AppData\Roaming\Python\Python37\site-packages\skimage\data\__init__.py", line 117, in create_image_fetcher pooch_version = pooch.__version__.lstrip('v') AttributeError: module 'pooch' has no attribute '__version__'