QGIS Plugin Installation Errors

Hello,

i’m trying to connect QGIS to my Speckleverse and therefore to install the Speckle Plugin, but whatever I do, i receive an error when activating the plugin in QGIS.

First I tried via the Speckle Manager and got this error massage when activating the plugin:

Konnte Erweiterung 'speckle-qgis' nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode 

Exception: Failed to install dependenices through pip, got 1 as return code. Full log: CompletedProcess(args=['C:\\Program Files\\QGIS 3.36.3\\bin\\python3', '-m', 'pip', 'install', '-t', 'C:\\Users\\MA\\AppData\\Roaming\\Speckle\\connector_installations\\QGIS', '-r', 'C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt'], returncode=1, stdout=b"Collecting annotated-types==0.6.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 1))\r\n  Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB)\r\nCollecting anyio==4.2.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 2))\r\n  Using cached anyio-4.2.0-py3-none-any.whl.metadata (4.6 kB)\r\nCollecting appdirs==1.4.4 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 3))\r\n  Using cached appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)\r\nCollecting attrs==23.2.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 4))\r\n  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)\r\nCollecting backoff==2.2.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 5))\r\n  Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB)\r\nCollecting certifi==2024.2.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 6))\r\n  Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)\r\nCollecting charset-normalizer==3.3.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 7))\r\n  Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)\r\nCollecting click-plugins==1.1.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 8))\r\n  Using cached click_plugins-1.1.1-py2.py3-none-any.whl.metadata (6.4 kB)\r\nCollecting click==8.1.7 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 9))\r\n  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)\r\nCollecting cligj==0.7.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 10))\r\n  Using cached cligj-0.7.2-py3-none-any.whl.metadata (5.0 kB)\r\nCollecting colorama==0.4.6 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 11))\r\n  Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)\r\nCollecting deprecated==1.2.14 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 12))\r\n  Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)\r\nCollecting exceptiongroup==1.2.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 13))\r\n  Using cached exceptiongroup-1.2.0-py3-none-any.whl.metadata (6.6 kB)\r\nCollecting fiona==1.9.5 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 14))\r\n  Using cached fiona-1.9.5-cp312-cp312-win_amd64.whl.metadata (51 kB)\r\nCollecting geopandas==0.13.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 15))\r\n  Using cached geopandas-0.13.2-py3-none-any.whl.metadata (1.5 kB)\r\nCollecting geovoronoi==0.4.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 16))\r\n  Using cached geovoronoi-0.4.0-py3-none-any.whl.metadata (8.4 kB)\r\nCollecting gql==3.4.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 17))\r\n  Using cached gql-3.4.1-py2.py3-none-any.whl.metadata (9.2 kB)\r\nCollecting graphql-core==3.2.3 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 18))\r\n  Using cached graphql_core-3.2.3-py3-none-any.whl.metadata (10 kB)\r\nCollecting h11==0.14.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 19))\r\n  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)\r\nCollecting httpcore==1.0.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 20))\r\n  Using cached httpcore-1.0.2-py3-none-any.whl.metadata (20 kB)\r\nCollecting httpx==0.25.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 21))\r\n  Using cached httpx-0.25.2-py3-none-any.whl.metadata (6.9 kB)\r\nCollecting idna==3.6 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 22))\r\n  Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB)\r\nCollecting importlib-metadata==7.0.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 23))\r\n  Using cached importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB)\r\nCollecting multidict==6.0.5 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 24))\r\n  Using cached multidict-6.0.5-cp312-cp312-win_amd64.whl.metadata (4.3 kB)\r\nCollecting numpy==1.25.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 25))\r\n  Using cached numpy-1.25.2.tar.gz (10.8 MB)\r\n  Installing build dependencies: started\r\n  Installing build dependencies: finished with status 'done'\r\n  Getting requirements to build wheel: started\r\n  Getting requirements to build wheel: finished with status 'error'\r\n", stderr=b'  error: subprocess-exited-with-error\r\n  \r\n  \xc3\x97 Getting requirements to build wheel did not run successfully.\r\n  \xe2\x94\x82 exit code: 1\r\n  \xe2\x95\xb0\xe2\x94\x80> [33 lines of output]\r\n      Traceback (most recent call last):\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 353, in \r\n          main()\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 335, in main\r\n          json_out[\'return_val\'] = hook(**hook_input[\'kwargs\'])\r\n                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 112, in get_requires_for_build_wheel\r\n          backend = _build_backend()\r\n                    ^^^^^^^^^^^^^^^^\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 77, in _build_backend\r\n          obj = import_module(mod_path)\r\n                ^^^^^^^^^^^^^^^^^^^^^^^\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\importlib\\__init__.py", line 90, in import_module\r\n          return _bootstrap._gcd_import(name[level:], package, level)\r\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n        File "", line 1387, in _gcd_import\r\n        File "", line 1360, in _find_and_load\r\n        File "", line 1310, in _find_and_load_unlocked\r\n        File "", line 488, in _call_with_frames_removed\r\n        File "", line 1387, in _gcd_import\r\n        File "", line 1360, in _find_and_load\r\n        File "", line 1331, in _find_and_load_unlocked\r\n        File "", line 935, in _load_unlocked\r\n        File "", line 995, in exec_module\r\n        File "", line 488, in _call_with_frames_removed\r\n        File "C:\\Users\\MA\\AppData\\Local\\Temp\\pip-build-env-c6wfx2cc\\overlay\\Lib\\site-packages\\setuptools\\__init__.py", line 16, in \r\n          import setuptools.version\r\n        File "C:\\Users\\MA\\AppData\\Local\\Temp\\pip-build-env-c6wfx2cc\\overlay\\Lib\\site-packages\\setuptools\\version.py", line 1, in \r\n          import pkg_resources\r\n        File "C:\\Users\\MA\\AppData\\Local\\Temp\\pip-build-env-c6wfx2cc\\overlay\\Lib\\site-packages\\pkg_resources\\__init__.py", line 2172, in \r\n          register_finder(pkgutil.ImpImporter, find_on_path)\r\n                          ^^^^^^^^^^^^^^^^^^^\r\n      AttributeError: module \'pkgutil\' has no attribute \'ImpImporter\'. Did you mean: \'zipimporter\'?\r\n      [end of output]\r\n  \r\n  note: This error originates from a subprocess, and is likely not a problem with pip.\r\nerror: subprocess-exited-with-error\r\n\r\n\xc3\x97 Getting requirements to build wheel did not run successfully.\r\n\xe2\x94\x82 exit code: 1\r\n\xe2\x95\xb0\xe2\x94\x80> See above for output.\r\n\r\nnote: This error originates from a subprocess, and is likely not a problem with pip.\r\n') 
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS33~1.3/apps/qgis/./python\qgis\utils.py", line 426, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/MA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\speckle-qgis\__init__.py", line 30, in classFactory
    ensure_dependencies("QGIS")
  File "C:\Users\MA\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\speckle-qgis\plugin_utils\installer.py", line 231, in ensure_dependencies
    install_dependencies(host_application)
  File "C:\Users\MA\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\speckle-qgis\plugin_utils\installer.py", line 209, in install_dependencies
    install_requirements(host_application)
  File "C:\Users\MA\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\speckle-qgis\plugin_utils\installer.py", line 202, in install_requirements
    raise Exception(m)
Exception: Failed to install dependenices through pip, got 1 as return code. Full log: CompletedProcess(args=['C:\\Program Files\\QGIS 3.36.3\\bin\\python3', '-m', 'pip', 'install', '-t', 'C:\\Users\\MA\\AppData\\Roaming\\Speckle\\connector_installations\\QGIS', '-r', 'C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt'], returncode=1, stdout=b"Collecting annotated-types==0.6.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 1))\r\n  Using cached annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB)\r\nCollecting anyio==4.2.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 2))\r\n  Using cached anyio-4.2.0-py3-none-any.whl.metadata (4.6 kB)\r\nCollecting appdirs==1.4.4 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 3))\r\n  Using cached appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)\r\nCollecting attrs==23.2.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 4))\r\n  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)\r\nCollecting backoff==2.2.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 5))\r\n  Using cached backoff-2.2.1-py3-none-any.whl.metadata (14 kB)\r\nCollecting certifi==2024.2.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 6))\r\n  Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)\r\nCollecting charset-normalizer==3.3.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 7))\r\n  Using cached charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl.metadata (34 kB)\r\nCollecting click-plugins==1.1.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 8))\r\n  Using cached click_plugins-1.1.1-py2.py3-none-any.whl.metadata (6.4 kB)\r\nCollecting click==8.1.7 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 9))\r\n  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)\r\nCollecting cligj==0.7.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 10))\r\n  Using cached cligj-0.7.2-py3-none-any.whl.metadata (5.0 kB)\r\nCollecting colorama==0.4.6 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 11))\r\n  Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)\r\nCollecting deprecated==1.2.14 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 12))\r\n  Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)\r\nCollecting exceptiongroup==1.2.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 13))\r\n  Using cached exceptiongroup-1.2.0-py3-none-any.whl.metadata (6.6 kB)\r\nCollecting fiona==1.9.5 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 14))\r\n  Using cached fiona-1.9.5-cp312-cp312-win_amd64.whl.metadata (51 kB)\r\nCollecting geopandas==0.13.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 15))\r\n  Using cached geopandas-0.13.2-py3-none-any.whl.metadata (1.5 kB)\r\nCollecting geovoronoi==0.4.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 16))\r\n  Using cached geovoronoi-0.4.0-py3-none-any.whl.metadata (8.4 kB)\r\nCollecting gql==3.4.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 17))\r\n  Using cached gql-3.4.1-py2.py3-none-any.whl.metadata (9.2 kB)\r\nCollecting graphql-core==3.2.3 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 18))\r\n  Using cached graphql_core-3.2.3-py3-none-any.whl.metadata (10 kB)\r\nCollecting h11==0.14.0 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 19))\r\n  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)\r\nCollecting httpcore==1.0.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 20))\r\n  Using cached httpcore-1.0.2-py3-none-any.whl.metadata (20 kB)\r\nCollecting httpx==0.25.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 21))\r\n  Using cached httpx-0.25.2-py3-none-any.whl.metadata (6.9 kB)\r\nCollecting idna==3.6 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 22))\r\n  Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB)\r\nCollecting importlib-metadata==7.0.1 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 23))\r\n  Using cached importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB)\r\nCollecting multidict==6.0.5 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 24))\r\n  Using cached multidict-6.0.5-cp312-cp312-win_amd64.whl.metadata (4.3 kB)\r\nCollecting numpy==1.25.2 (from -r C:\\Users\\MA\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\speckle-qgis\\plugin_utils\\requirements.txt (line 25))\r\n  Using cached numpy-1.25.2.tar.gz (10.8 MB)\r\n  Installing build dependencies: started\r\n  Installing build dependencies: finished with status 'done'\r\n  Getting requirements to build wheel: started\r\n  Getting requirements to build wheel: finished with status 'error'\r\n", stderr=b'  error: subprocess-exited-with-error\r\n  \r\n  \xc3\x97 Getting requirements to build wheel did not run successfully.\r\n  \xe2\x94\x82 exit code: 1\r\n  \xe2\x95\xb0\xe2\x94\x80> [33 lines of output]\r\n      Traceback (most recent call last):\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 353, in \r\n          main()\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 335, in main\r\n          json_out[\'return_val\'] = hook(**hook_input[\'kwargs\'])\r\n                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 112, in get_requires_for_build_wheel\r\n          backend = _build_backend()\r\n                    ^^^^^^^^^^^^^^^^\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\site-packages\\pip\\_vendor\\pyproject_hooks\\_in_process\\_in_process.py", line 77, in _build_backend\r\n          obj = import_module(mod_path)\r\n                ^^^^^^^^^^^^^^^^^^^^^^^\r\n        File "C:\\PROGRA~1\\QGIS33~1.3\\apps\\Python312\\Lib\\importlib\\__init__.py", line 90, in import_module\r\n          return _bootstrap._gcd_import(name[level:], package, level)\r\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n        File "", line 1387, in _gcd_import\r\n        File "", line 1360, in _find_and_load\r\n        File "", line 1310, in _find_and_load_unlocked\r\n        File "", line 488, in _call_with_frames_removed\r\n        File "", line 1387, in _gcd_import\r\n        File "", line 1360, in _find_and_load\r\n        File "", line 1331, in _find_and_load_unlocked\r\n        File "", line 935, in _load_unlocked\r\n        File "", line 995, in exec_module\r\n        File "", line 488, in _call_with_frames_removed\r\n        File "C:\\Users\\MA\\AppData\\Local\\Temp\\pip-build-env-c6wfx2cc\\overlay\\Lib\\site-packages\\setuptools\\__init__.py", line 16, in \r\n          import setuptools.version\r\n        File "C:\\Users\\MA\\AppData\\Local\\Temp\\pip-build-env-c6wfx2cc\\overlay\\Lib\\site-packages\\setuptools\\version.py", line 1, in \r\n          import pkg_resources\r\n        File "C:\\Users\\MA\\AppData\\Local\\Temp\\pip-build-env-c6wfx2cc\\overlay\\Lib\\site-packages\\pkg_resources\\__init__.py", line 2172, in \r\n          register_finder(pkgutil.ImpImporter, find_on_path)\r\n                          ^^^^^^^^^^^^^^^^^^^\r\n      AttributeError: module \'pkgutil\' has no attribute \'ImpImporter\'. Did you mean: \'zipimporter\'?\r\n      [end of output]\r\n  \r\n  note: This error originates from a subprocess, and is likely not a problem with pip.\r\nerror: subprocess-exited-with-error\r\n\r\n\xc3\x97 Getting requirements to build wheel did not run successfully.\r\n\xe2\x94\x82 exit code: 1\r\n\xe2\x95\xb0\xe2\x94\x80> See above for output.\r\n\r\nnote: This error originates from a subprocess, and is likely not a problem with pip.\r\n')


Python-Version: 3.12.3 (main, Apr 14 2024, 17:21:43) [MSC v.1938 64 bit (AMD64)] 
QGIS-Version: 3.36.3-Maidenhead Maidenhead, 2df96554 

Python-Pfad:
C:\Users\MA\AppData\Roaming\Speckle\connector_installations\QGIS
C:\Users\MA\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\speckle-qgis
C:/PROGRA~1/QGIS33~1.3/apps/qgis/./python
C:/Users/MA/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/MA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS33~1.3\apps\grass\grass83\etc\python
C:\Users\MA\Documents
C:\Program Files\QGIS 3.36.3\bin\python312.zip
C:\PROGRA~1\QGIS33~1.3\apps\Python312\DLLs
C:\PROGRA~1\QGIS33~1.3\apps\Python312\Lib
C:\Program Files\QGIS 3.36.3\bin
C:\PROGRA~1\QGIS33~1.3\apps\Python312
C:\PROGRA~1\QGIS33~1.3\apps\Python312\Lib\site-packages
C:\PROGRA~1\QGIS33~1.3\apps\Python312\Lib\site-packages\win32
C:\PROGRA~1\QGIS33~1.3\apps\Python312\Lib\site-packages\win32\lib
C:\PROGRA~1\QGIS33~1.3\apps\Python312\Lib\site-packages\Pythonwin
C:/Users/MA/AppData/Roaming/QGIS/QGIS3\profiles\default/python

Then I installed it via QGIS plugin Store and got the same result.

Last straw was to clone the git repository into the plugins folder as shown here for a previous version:

but it seems the requirements.txt was missing:

AssertionError: path not found C:\Users\MA\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\speckle-qgis\plugin_utils\requirements.txt 

After copying the requirements.txt to the folder i got the same error Message when activating the plugin as before and now I’m stuck.

Does anyone have an idea how i could properly install the plugin? Thanks very much

2 Likes

Hey @Sus

Sorry to hear this isn’t working out of the box. Appreciate the tenacity in the many different attempts. I’ve pinged our resident QGIS expert, @Kateryna, and hopefully they will be able to take a look shortly.

Thanks
Ian H

Hi @Sus !
This is happening with the latest versions of QGIS, because they made a massive upgrade (from Python 9 to Python 12) and we haven’t released a version matching that change. Please try with QGIS 3.34.3 , this is a question raised previously here: Plugin installation error on qgis

Let us know if you need any more QGIS support! :raised_hands:

2 Likes

Hey @ianh @Kateryna, thank you for your help, that worked for me!

1 Like