You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't load plugin 'deep-learning-datasets-maker' due to an error when calling its classFactory() method
subprocess.CalledProcessError: Command '['python3', '-m', 'pip', 'install', 'Cython', 'scikit-image', 'Pillow', 'pycocotools']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\pycococreatortools\pycococreatortools.py", line 10, in
from pycocotools import mask
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'pycocotools'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker_init_.py", line 35, in classFactory
from .split_rs_data import SplitRSData
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\split_rs_data.py", line 46, in
from .utils.COCO import clip_from_file, slice, from_mask_to_coco
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO_init.py", line 1, in
from .shape_to_coco import clip_from_file, slice, from_mask_to_coco
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\shape_to_coco.py", line 16, in
from .pycococreatortools import *
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\pycococreatortools_init.py", line 1, in
from .pycococreatortools import *
File "C:/PROGRA1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\pycococreatortools\pycococreatortools.py", line 16, in
["python3", '-m', 'pip', 'install', 'Cython', 'scikit-image', 'Pillow', 'pycocotools'])
File "C:\PROGRA1\QGIS31.4\apps\Python37\lib\subprocess.py", line 328, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python3', '-m', 'pip', 'install', 'Cython', 'scikit-image', 'Pillow', 'pycocotools']' returned non-zero exit status 1.
Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.4.13-Madeira Madeira, 567300ccf1
Well thank you for fast response!! I didn't realize that "pycocotools" library is not installed properly. The thing with pycocotools is I am using Windows 10, and pycocotools cannot be installed in Windows https://github.com/cocodataset/cocoapi/issues/169. I tried to install https://github.com/philferriere/cocoapi but it does not work either. Do you use Windows or Ubuntu?
Couldn't load plugin 'deep-learning-datasets-maker' due to an error when calling its classFactory() method
subprocess.CalledProcessError: Command '['python3', '-m', 'pip', 'install', 'Cython', 'scikit-image', 'Pillow', 'pycocotools']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\pycococreatortools\pycococreatortools.py", line 10, in
from pycocotools import mask
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _importmod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'pycocotools'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 335, in startPluginplugins[packageName] = package.classFactory(iface)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker_init_.py", line 35, in classFactory
from .split_rs_data import SplitRSData
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _importmod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\split_rs_data.py", line 46, in
from .utils.COCO import clip_from_file, slice, from_mask_to_coco
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _importmod = builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO_init.py", line 1, in
from .shape_to_coco import clip_from_file, slice, from_mask_to_coco
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _importmod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\shape_to_coco.py", line 16, in
from .pycococreatortools import *
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _importmod = builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\pycococreatortools_init.py", line 1, in
from .pycococreatortools import *
File "C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _importmod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\COCO\pycococreatortools\pycococreatortools.py", line 16, in
["python3", '-m', 'pip', 'install', 'Cython', 'scikit-image', 'Pillow', 'pycocotools'])
File "C:\PROGRA
1\QGIS31.4\apps\Python37\lib\subprocess.py", line 328, in check_callraise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python3', '-m', 'pip', 'install', 'Cython', 'scikit-image', 'Pillow', 'pycocotools']' returned non-zero exit status 1.
Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.4.13-Madeira Madeira, 567300ccf1
Python Path:
C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./pythonC:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA
1/QGIS31.4/apps/qgis-ltr/./python/pluginsC:\Users\pprt\matterport\models\research
C:\Users\pprt\matterport\models\research\slim
C:\Program Files\QGIS 3.4\bin\python37.zip
C:\PROGRA
1\QGIS31.4\apps\Python37\DLLsC:\PROGRA
1\QGIS31.4\apps\Python37\libC:\Program Files\QGIS 3.4\bin
C:\Users\pprt\AppData\Roaming\Python\Python37\site-packages
C:\Users\pprt\AppData\Roaming\Python\Python37\site-packages\tf_unet-0.1.2-py3.7.egg
C:\PROGRA
1\QGIS31.4\apps\Python37C:\PROGRA
1\QGIS31.4\apps\Python37\lib\site-packagesC:\PROGRA
1\QGIS31.4\apps\Python37\lib\site-packages\win32C:\PROGRA
1\QGIS31.4\apps\Python37\lib\site-packages\win32\libC:\PROGRA
1\QGIS31.4\apps\Python37\lib\site-packages\PythonwinC:/Users/pprt/AppData/Roaming/QGIS/QGIS3\profiles\default/python
The text was updated successfully, but these errors were encountered: