-
Notifications
You must be signed in to change notification settings - Fork 1
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
H3 Package not Installed Automatically on MacOS #67
Comments
Hi @sfc-gh-obielov, have tried both latest release and LTS version of QGIS - both had the same error after clean installs. Process taken to create error was:
Whilst I have admin level privilages - my Macbook has a corporate profile that controls and limits various things. I can't think what might prevent package prerequisites from not being installed automatically, but I can't think of anything else that's special about my setup. If it can't be replicated, happy for this and #54 to be closed due to the above. |
@minus34 This should be fixed in 1.0.2. Please install it and let me know if you still face the issue |
Same failure as #54 on my work MacBook. Same conclusion - have tested on my personal MacBook (same MacBook & macOS version as my work MacBook) and it installed fine. Conclusion is that my work's always on proxy (Netskope) is somehow interfering with Python packge installs even though my work MacBook is configured to allow package installs (command line package installs work fine). Another possibility is our malware scanners are blocking it. |
Tried to upgrade to the latest Snowflake Connector plugin version (0.11.0) and got the error below in QGIS:
The workaround is to install the package before upgrading using:
/Applications/QGIS.app/Contents/MacOS/bin/python3.9 -m pip install h3
Couldn't load plugin 'qgis-snowflake-connector' due to an error when calling its classFactory() method
ModuleNotFoundError: No module named 'h3'
Traceback (most recent call last):
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 426, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis-snowflake-connector/init.py", line 59, in classFactory
from .qgis_snowflake_connector import QGISSnowflakeConnectorPlugin
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 966, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis-snowflake-connector/qgis_snowflake_connector.py", line 56, in
from .providers.sf_metadata_provider import SFMetadataProvider
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 966, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis-snowflake-connector/providers/sf_metadata_provider.py", line 6, in
from .sf_vector_data_provider import SFVectorDataProvider
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 966, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis-snowflake-connector/providers/sf_vector_data_provider.py", line 15, in
from .sf_feature_iterator import SFFeatureIterator
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 966, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis-snowflake-connector/providers/sf_feature_iterator.py", line 23, in
import h3.api.basic_int as h3
File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 966, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'h3'
Python version: 3.9.5 (default, Sep 10 2021, 16:18:19) [Clang 12.0.5 (clang-1205.0.22.11)]
QGIS version: 3.40.1-Bratislava Bratislava, 989853a7a31
Python Path:
/Applications/QGIS.app/Contents/MacOS/../Resources/python
/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/opencv_contrib_python-4.3.0.36-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/statsmodels-0.11.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Fiona-1.8.13.post1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Pillow-7.2.0-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/matplotlib-3.3.0-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Rtree-0.9.7-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/netCDF4-1.5.4-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/geopandas-0.8.1-py3.9.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/lib-dynload
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pyproj-3.2.0-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/cftime-1.2.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numpy-1.20.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/GDAL-3.3.2-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/scipy-1.5.1-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python39.zip
/Applications/QGIS.app/Contents/MacOS/lib/python3.9
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/rasterio-1.1.5-py3.9-macosx-10.13.0-x86_64.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/patsy-0.5.1-py3.9.egg
/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages
/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/s57405/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
The text was updated successfully, but these errors were encountered: