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

Couldn't load plugin 'go2mapillary' due to an error when calling its classFactory() method #44

Open
joaourbano opened this issue Feb 17, 2021 · 0 comments

Comments

@joaourbano
Copy link

Hi,

I am currently trying to run the go2mapillary plugin on QGIS 3.4.14 Madeira on Mac OS Big Sur 11.2.1.

I am getting the following error:

Couldn't load plugin 'go2mapillary' due to an error when calling its classFactory() method

OSError: Could not find lib c or load any of its variants [].
Traceback (most recent call last):
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/init.py", line 49, in classFactory
from .mapillary_explorer import go2mapillary
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_explorer.py", line 54, in
from .mapillary_coverage import mapillary_coverage, LAYER_LEVELS
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_coverage.py", line 25, in
from shapely.geometry import Polygon
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/shapely/geometry/init.py", line 4, in
from .base import CAP_STYLE, JOIN_STYLE
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/shapely/geometry/base.py", line 17, in
from shapely.coords import CoordinateSequence
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/shapely/coords.py", line 8, in
from shapely.geos import lgeos
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 685, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/shapely/geos.py", line 113, in
free = load_dll('c').free
File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/shapely/geos.py", line 56, in load_dll
libname, fallbacks or []))
OSError: Could not find lib c or load any of its variants [].

Python version: 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)]
QGIS version: 3.4.14-Madeira Madeira, cf31ea831d

Python Path:
/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python
/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip
/Volumes/DATA/jonaszed/Library/Python/3.7/lib/python/site-packages
/Applications/QGIS3.4.app/Contents/Resources/python
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7
/Applications/QGIS3.4.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages/geos
/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin
/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin/vrtbuilder
/Volumes/DATA/jonaszed/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/extlibs

Can you help?

Thanks in advance,

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

1 participant