AequilibraE / qaequilibrae

Free QGIS add-on for transportation modeling
https://www.aequilibrae.com/qgis/latest/
Other
73 stars 24 forks source link

QGIS installation #214

Open fgianoli opened 1 year ago

fgianoli commented 1 year ago

QGIS 3.30.2. Windows 11

When I install the plugin and the external libraries I received a lot of critical messages

2023-05-11T16:40:42 INFO Stato applicazione: QGIS_PREFIX_PATH var amb: C:/OSGeo4W/apps/qgis Prefisso: C:/OSGeo4W/apps/qgis Percorso del plugin: C:/OSGeo4W/apps/qgis/plugins Percorso pacchetto dati: C:/OSGeo4W/apps/qgis/. Nome tema attivo: default Percorso tema attivo: C:/OSGeo4W/apps/qgis/./resources/themes\default\icons/ Percorso tema predefinito: :/images/themes/default/ Percorso di ricerca SVG: C:/OSGeo4W/apps/qgis/./svg/ C:/Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/svg/ Percorso DB utente: C:/OSGeo4W/apps/qgis/./resources/qgis.db Percorso DB Auth: C:/Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/qgis-auth.db

2023-05-11T16:42:25 CRITICAL python -m pip install -r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt -t C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\packages --upgrade 2023-05-11T16:42:25 CRITICAL Collecting aequilibrae==0.9.0.dev1 (from -r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached aequilibrae-0.9.0.dev1-cp39-cp39-win_amd64.whl (10.6 MB)

2023-05-11T16:42:25 CRITICAL Collecting openmatrix (from -r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached OpenMatrix-0.3.5.0-py3-none-any.whl (13 kB)

2023-05-11T16:42:25 CRITICAL Collecting ortools (from -r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 3))

2023-05-11T16:42:25 CRITICAL Using cached ortools-9.6.2534-cp39-cp39-win_amd64.whl (43.5 MB)

2023-05-11T16:42:25 CRITICAL Collecting numpy-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached numpy-1.21.6-cp39-cp39-win_amd64.whl (14.0 MB)

2023-05-11T16:42:25 CRITICAL Collecting scipy (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached scipy-1.10.1-cp39-cp39-win_amd64.whl (42.5 MB)

2023-05-11T16:42:25 CRITICAL Collecting pyaml (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached pyaml-23.5.9-py3-none-any.whl (17 kB)

2023-05-11T16:42:25 CRITICAL Collecting cython (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB)

2023-05-11T16:42:25 CRITICAL Collecting requests (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached requests-2.30.0-py3-none-any.whl (62 kB)

2023-05-11T16:42:25 CRITICAL Collecting shapely (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached shapely-2.0.1-cp39-cp39-win_amd64.whl (1.4 MB)

2023-05-11T16:42:25 CRITICAL Collecting pandas-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached pandas-1.1.5-cp39-cp39-win_amd64.whl (8.9 MB)

2023-05-11T16:42:25 CRITICAL Collecting pyproj (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached pyproj-3.5.0-cp39-cp39-win_amd64.whl (5.1 MB)

2023-05-11T16:42:25 CRITICAL Collecting rtree (from aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached Rtree-1.0.1-cp39-cp39-win_amd64.whl (433 kB)

2023-05-11T16:42:25 CRITICAL Collecting tables>=3.1.0 (from openmatrix->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached tables-3.8.0-cp39-cp39-win_amd64.whl (3.6 MB)

2023-05-11T16:42:25 CRITICAL Collecting absl-py>=0.13 (from ortools->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 3))

2023-05-11T16:42:25 CRITICAL Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)

2023-05-11T16:42:25 CRITICAL Collecting protobuf>=4.21.12 (from ortools->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 3))

2023-05-11T16:42:25 CRITICAL Using cached protobuf-4.23.0-cp39-cp39-win_amd64.whl (422 kB)

2023-05-11T16:42:25 CRITICAL Collecting python-dateutil>=2.7.3 (from pandasaequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)

2023-05-11T16:42:25 CRITICAL Collecting pytz>=2017.2 (from pandasaequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)

2023-05-11T16:42:25 CRITICAL Collecting numexpr>=2.6.2 (from tables>=3.1.0->openmatrix->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached numexpr-2.8.4-cp39-cp39-win_amd64.whl (92 kB)

2023-05-11T16:42:25 CRITICAL Collecting blosc2~=2.0.0 (from tables>=3.1.0->openmatrix->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached blosc2-2.0.0-cp39-cp39-win_amd64.whl (2.0 MB)

2023-05-11T16:42:25 CRITICAL Collecting packaging (from tables>=3.1.0->openmatrix->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached packaging-23.1-py3-none-any.whl (48 kB)

2023-05-11T16:42:25 CRITICAL Collecting py-cpuinfo (from tables>=3.1.0->openmatrix->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)

2023-05-11T16:42:25 CRITICAL Collecting PyYAML (from pyaml->aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached PyYAML-6.0-cp39-cp39-win_amd64.whl (151 kB)

2023-05-11T16:42:25 CRITICAL Collecting certifi (from pyproj->aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)

2023-05-11T16:42:25 CRITICAL Collecting charset-normalizer=2 (from requests->aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached charset_normalizer-3.1.0-cp39-cp39-win_amd64.whl (97 kB)

2023-05-11T16:42:25 CRITICAL Collecting idna=2.5 (from requests->aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached idna-3.4-py3-none-any.whl (61 kB)

2023-05-11T16:42:25 CRITICAL Collecting urllib3=1.21.1 (from requests->aequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached urllib3-2.0.2-py3-none-any.whl (123 kB)

2023-05-11T16:42:25 CRITICAL Collecting msgpack (from blosc2~=2.0.0->tables>=3.1.0->openmatrix->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 2))

2023-05-11T16:42:25 CRITICAL Using cached msgpack-1.0.5-cp39-cp39-win_amd64.whl (62 kB)

2023-05-11T16:42:25 CRITICAL Collecting six>=1.5 (from python-dateutil>=2.7.3->pandasaequilibrae==0.9.0.dev1->-r C:\Users/giano/AppData/Roaming/QGIS/QGIS3\profiles\SGI/python/plugins\qaequilibrae\requirements.txt (line 1))

2023-05-11T16:42:25 CRITICAL Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)

2023-05-11T16:42:25 CRITICAL WARNING: Ignoring invalid distribution -illow (c:\osgeo4w\apps\python39\lib\site-packages)

2023-05-11T16:42:25 CRITICAL Installing collected packages: pytz, py-cpuinfo, msgpack, urllib3, six, rtree, PyYAML, protobuf, packaging, numpy, idna, cython, charset-normalizer, certifi, blosc2, absl-py, shapely, scipy, requests, python-dateutil, pyproj, pyaml, numexpr, tables, pandas, ortools, openmatrix, aequilibrae

2023-05-11T16:42:25 CRITICAL ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

2023-05-11T16:42:25 CRITICAL fiona 1.9.2 requires click~=8.0, but you have click 7.1.2 which is incompatible.

2023-05-11T16:42:25 CRITICAL Successfully installed PyYAML-6.0 absl-py-1.4.0 aequilibrae-0.9.0.dev1 blosc2-2.0.0 certifi-2023.5.7 charset-normalizer-3.1.0 cython-0.29.34 idna-3.4 msgpack-1.0.5 numexpr-2.8.4 numpy-1.21.6 openmatrix-0.3.5.0 ortools-9.6.2534 packaging-23.1 pandas-1.1.5 protobuf-4.23.0 py-cpuinfo-9.0.0 pyaml-23.5.9 pyproj-3.5.0 python-dateutil-2.8.2 pytz-2023.3 requests-2.30.0 rtree-1.0.1 scipy-1.10.1 shapely-2.0.1 six-1.16.0 tables-3.8.0 urllib3-2.0.2

pedrocamargo commented 1 year ago

These are not errors. The installation occurred as expected. QGIS has an internal bug that has not been fixed yet that affects how external code can interact with its Python installation, so there is nothing we can do for now.

jamiecook commented 1 year ago

@pedrocamargo - is the "CRITICAL" part of the logging the bug you are talking about. I was thrown by that and I'd imagine a lot of others will be too... could we log less maybe?

pedrocamargo commented 1 year ago

The bug is the fact that we cannot use the QGIS Python environment to do installations, so we get this large stream of messages. We could turn them off, but we need them in case something does go wrong during install. I will do the fix in the other issue you opened

Vselva789 commented 4 months ago

Actually in the log we can see that one of the package is not getting properly installed : 2023-05-11T16:42:25 CRITICAL fiona 1.9.2 requires click~=8.0, but you have click 7.1.2 which is incompatible.

I am having a problem similar to this person's and none of the feature of the plugin seem to be working. Is there any known fix ? I'm having the same issue on QGIS 3.34.3 on Windows 10