Skip to main content
Clarified title
Source Link
underdark
  • 85k
  • 22
  • 237
  • 419

Algorithm provider not work No module named 'processing.core.AlgorithmProvider' in qgis3QGIS3

I am working on qgisQGIS plugin bufferbypercentage.

# Import the PyQt and QGIS libraries  
from PyQt5.QtCore import *  
from PyQt5.QtGui import *  
from qgis.core import *  
  
# Initialize Qt resources from file resources.py  
from . import resources_rc  # lint:ok  

# Import the code for the dialog  
from .bufferbypercentagedialog import BufferByPercentageDialog  

# Import the Processing libraries so we can add the algorithm to the Processing menu
from processing.core.Processing import Processing  
from processing.core.GeoAlgorithm import GeoAlgorithm  
from processing.core.parameters import ParameterVector  
from processing.core.parameters import ParameterNumber  
from processing.core.parameters import ParameterTableField  
from processing.core.outputs import OutputVector  
from processing.tools import dataobjects, vector  
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:

Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.

Algorithm provider not work in qgis3

I am working on qgis plugin bufferbypercentage.

# Import the PyQt and QGIS libraries  
from PyQt5.QtCore import *  
from PyQt5.QtGui import *  
from qgis.core import *  
  
# Initialize Qt resources from file resources.py  
from . import resources_rc  # lint:ok  

# Import the code for the dialog  
from .bufferbypercentagedialog import BufferByPercentageDialog  

# Import the Processing libraries so we can add the algorithm to the Processing menu
from processing.core.Processing import Processing  
from processing.core.GeoAlgorithm import GeoAlgorithm  
from processing.core.parameters import ParameterVector  
from processing.core.parameters import ParameterNumber  
from processing.core.parameters import ParameterTableField  
from processing.core.outputs import OutputVector  
from processing.tools import dataobjects, vector  
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:

Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.

No module named 'processing.core.AlgorithmProvider' in QGIS3

I am working on QGIS plugin bufferbypercentage.

# Import the PyQt and QGIS libraries  
from PyQt5.QtCore import *  
from PyQt5.QtGui import *  
from qgis.core import *  
  
# Initialize Qt resources from file resources.py  
from . import resources_rc  # lint:ok  

# Import the code for the dialog  
from .bufferbypercentagedialog import BufferByPercentageDialog  

# Import the Processing libraries so we can add the algorithm to the Processing menu
from processing.core.Processing import Processing  
from processing.core.GeoAlgorithm import GeoAlgorithm  
from processing.core.parameters import ParameterVector  
from processing.core.parameters import ParameterNumber  
from processing.core.parameters import ParameterTableField  
from processing.core.outputs import OutputVector  
from processing.tools import dataobjects, vector  
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:

Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.

added 100 characters in body; edited tags
Source Link
PolyGeo
  • 65.5k
  • 29
  • 115
  • 352

I am working on qgis plugin bufferbypercentage.

Import the PyQt and QGIS libraries

from PyQt5.QtCore import *
from PyQt5.QtGui import *
from qgis.core import *

Initialize Qt resources from file resources.py

from . import resources_rc # lint:ok

Import the code for the dialog

from .bufferbypercentagedialog import BufferByPercentageDialog

Import the Processing libraries so we can add the algorithm to the Processing menu

from processing.core.Processing import Processing
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterNumber
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputVector
from processing.tools import dataobjects, vector
from processing.core.AlgorithmProvider import AlgorithmProvider

# Import the PyQt and QGIS libraries  
from PyQt5.QtCore import *  
from PyQt5.QtGui import *  
from qgis.core import *  
  
# Initialize Qt resources from file resources.py  
from . import resources_rc  # lint:ok  

# Import the code for the dialog  
from .bufferbypercentagedialog import BufferByPercentageDialog  

# Import the Processing libraries so we can add the algorithm to the Processing menu
from processing.core.Processing import Processing  
from processing.core.GeoAlgorithm import GeoAlgorithm  
from processing.core.parameters import ParameterVector  
from processing.core.parameters import ParameterNumber  
from processing.core.parameters import ParameterTableField  
from processing.core.outputs import OutputVector  
from processing.tools import dataobjects, vector  
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:
Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.

I am working on qgis plugin bufferbypercentage.

Import the PyQt and QGIS libraries

from PyQt5.QtCore import *
from PyQt5.QtGui import *
from qgis.core import *

Initialize Qt resources from file resources.py

from . import resources_rc # lint:ok

Import the code for the dialog

from .bufferbypercentagedialog import BufferByPercentageDialog

Import the Processing libraries so we can add the algorithm to the Processing menu

from processing.core.Processing import Processing
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterNumber
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputVector
from processing.tools import dataobjects, vector
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:
Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.

I am working on qgis plugin bufferbypercentage.

# Import the PyQt and QGIS libraries  
from PyQt5.QtCore import *  
from PyQt5.QtGui import *  
from qgis.core import *  
  
# Initialize Qt resources from file resources.py  
from . import resources_rc  # lint:ok  

# Import the code for the dialog  
from .bufferbypercentagedialog import BufferByPercentageDialog  

# Import the Processing libraries so we can add the algorithm to the Processing menu
from processing.core.Processing import Processing  
from processing.core.GeoAlgorithm import GeoAlgorithm  
from processing.core.parameters import ParameterVector  
from processing.core.parameters import ParameterNumber  
from processing.core.parameters import ParameterTableField  
from processing.core.outputs import OutputVector  
from processing.tools import dataobjects, vector  
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:

Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.

Source Link
Nihcas
  • 103
  • 5

Algorithm provider not work in qgis3

I am working on qgis plugin bufferbypercentage.

Import the PyQt and QGIS libraries

from PyQt5.QtCore import *
from PyQt5.QtGui import *
from qgis.core import *

Initialize Qt resources from file resources.py

from . import resources_rc # lint:ok

Import the code for the dialog

from .bufferbypercentagedialog import BufferByPercentageDialog

Import the Processing libraries so we can add the algorithm to the Processing menu

from processing.core.Processing import Processing
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterNumber
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputVector
from processing.tools import dataobjects, vector
from processing.core.AlgorithmProvider import AlgorithmProvider

This gives me error:
Traceback (most recent call last): File "C:\PROGRA~1\SURVEY~1.0\apps\Python36\lib\code.py", line 91, in runcode exec(code, self.locals) File "", line 1, in File "C:/PROGRA~1/SURVEY~1.0/apps/qgis/./python\qgis\utils.py", line 666, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'processing.core.AlgorithmProvider'

I am testing it on qgis master 2.99

Is AlgorithmProvider removed? If yes then what is have to use.