We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 'svir' due to an error when calling its classFactory() method ImportError: dlopen(/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Pillow-7.2.0-py3.7-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-37m-darwin.so, 2): Library not loaded: /opt/X11/lib/libxcb.1.dylib Referenced from: /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Pillow-7.2.0-py3.7-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-37m-darwin.so Reason: image not found Traceback (most recent call last): File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/__init__.py", line 30, in classFactory from svir.irmt import Irmt File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/irmt.py", line 61, in from svir.dialogs.viewer_dock import ViewerDock File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/viewer_dock.py", line 64, in from svir.recovery_modeling.recovery_modeling import ( File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/recovery_modeling/recovery_modeling.py", line 46, in import matplotlib.pyplot as plt # NOQA File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg/matplotlib/pyplot.py", line 36, in import matplotlib.colorbar File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg/matplotlib/colorbar.py", line 44, in import matplotlib.contour as contour File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg/matplotlib/contour.py", line 17, in import matplotlib.text as text File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg/matplotlib/text.py", line 16, in from .textpath import TextPath # Unused, but imported by others. File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg/matplotlib/textpath.py", line 11, in from matplotlib.mathtext import MathTextParser File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg/matplotlib/mathtext.py", line 27, in from PIL import Image File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Pillow-7.2.0-py3.7-macosx-10.13.0-x86_64.egg/PIL/Image.py", line 94, in from . import _imaging as core File "/Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 792, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: dlopen(/Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Pillow-7.2.0-py3.7-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-37m-darwin.so, 2): Library not loaded: /opt/X11/lib/libxcb.1.dylib Referenced from: /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Pillow-7.2.0-py3.7-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-37m-darwin.so Reason: image not found Python version: 3.7.7 (default, Sep 22 2020, 10:25:18) [Clang 12.0.0 (clang-1200.0.32.2)] QGIS version: 3.16.2-Hannover Hannover, c6ac5a6052 Python Path: /Applications/QGIS3.16.app/Contents/MacOS/../Resources/python /Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins /Applications/QGIS3.16.app/Contents/MacOS/../Resources/python/plugins /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/netCDF4-1.5.3-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Fiona-1.8.13.post1-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/scipy-1.5.1-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/statsmodels-0.11.1-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/pyproj-2.6.0-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/snuggs-1.4.7-py3.7.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/opencv_contrib_python-4.3.0.36-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/affine-2.3.0-py3.7.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Rtree-0.9.4-py3.7.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/geopandas-0.8.1-py3.7.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/GDAL-3.1.2-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python37.zip /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/click_plugins-1.1.1-py3.7.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/cftime-1.2.1-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/pandas-1.1.0-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/rasterio-1.1.5-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/patsy-0.5.1-py3.7.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/lib-dynload /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/Pillow-7.2.0-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/matplotlib-3.3.0-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7 /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/numpy-1.19.1-py3.7-macosx-10.13.0-x86_64.egg /Applications/QGIS3.16.app/Contents/MacOS/lib/python3.7/site-packages/numba-0.50.1-py3.7-macosx-10.13.0-x86_64.egg /Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python
It looks like QGIS 3.16 has an issue with python dependencies, that can be solved running the following lines:
/Applications/QGIS-LTR.app/Contents/MacOS/bin/pip3 install --upgrade pip /Applications/QGIS-LTR.app/Contents/MacOS/bin/pip3 install --upgrade Pillow
or
/Applications/QGIS3.16.app/Contents/MacOS/bin/pip3 install --upgrade pip /Applications/QGIS3.16.app/Contents/MacOS/bin/pip3 install --upgrade Pillow
(just check the right folder under /Applications)
/Applications
python3 -m pip install --upgrade pip python3 -m pip install --upgrade Pillow
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like QGIS 3.16 has an issue with python dependencies, that can be solved running the following lines:
or
(just check the right folder under
/Applications
)or
The text was updated successfully, but these errors were encountered: