pgRoutingLayer icon indicating copy to clipboard operation
pgRoutingLayer copied to clipboard

Uncaught ModuleNotFoundError: No module named 'pgRoutingLayer'

Open sandydev29 opened this issue 4 years ago • 3 comments

Couldn't load plugin 'pgRoutingLayer-develop' due to an error when calling its classFactory() method Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/Sandesh/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pgRoutingLayer-develop\__init__.py", line 29, in classFactory
    from pgRoutingLayer.pgRoutingLayer import PgRoutingLayer
  File "C:/PROGRA~1/QGIS3~1.16/apps/qgis/./python\qgis\utils.py", line 792, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'pgRoutingLayer'

pgRoutingLayer-develop 3.0.0, QGIS 3.16.1-Hannover on Windows 7

sandydev29 avatar Dec 07 '20 06:12 sandydev29

Hi @sandydev29 . The plugin folder name must be pgRoutingLayer. If you cnahge that you could avoid this error.

cayetanobv avatar Dec 08 '20 15:12 cayetanobv

These type error occurs during install the other plugin.

On Tue 8 Dec, 2020, 8:42 PM Cayetano Benavent, [email protected] wrote:

Hi @sandydev29 https://github.com/sandydev29 . The plugin folder name must be pgRoutingLayer. If you cnahge that you could avoid this error.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pgRouting/pgRoutingLayer/issues/134#issuecomment-740678720, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARVILRSL2WNRWGBR22O7PVTSTY67FANCNFSM4UP7ANYQ .

sandydev29 avatar Dec 08 '20 15:12 sandydev29

How are you installing the plugin?

cayetanobv avatar Dec 08 '20 17:12 cayetanobv