Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ModuleNotFoundError: No module named 'pgRoutingLayer' #134

Open
sandydev29 opened this issue Dec 7, 2020 · 3 comments
Open

Uncaught ModuleNotFoundError: No module named 'pgRoutingLayer' #134

sandydev29 opened this issue Dec 7, 2020 · 3 comments

Comments

@sandydev29
Copy link

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

@cayetanobv
Copy link
Member

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

@sandydev29
Copy link
Author

sandydev29 commented Dec 8, 2020 via email

@cayetanobv
Copy link
Member

How are you installing the plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants