I'm using QGIS 3.10.14 and installed the spline plugin for digitizing curves. However, I get the error message below when I try and load the spline plugin.

Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis-ltr/./python\qgis\utils.py", line 335, in startPlugin
  plugins[packageName] = package.classFactory(iface)
  File "C:/Users/seansuzedielois/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spline\__init__.py", line 24, in classFactory
  from .splineplugin import SplinePlugin
  File "C:/OSGEO4~1/apps/qgis-ltr/./python\qgis\utils.py", line 685, in _import
  mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/seansuzedielois/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\spline\splineplugin.py", line 26, in 
  from qgis.core import QgsWkbTypes, QgsMapLayerType
 ImportError: cannot import name 'QgsMapLayerType' from 'qgis.core' (C:/OSGEO4~1/apps/qgis-ltr/./python\qgis\core\__init__.py)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.