Timeline for Errors while importing QGIS 3.10 from standalone Python, but not from QGIS's Python Console
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 6, 2020 at 6:23 | comment | added | Till B |
Hi @Jake, there is a batch file template in the QGIS3.10\bin folder, called python-qgis.bat . It sets a lot of environment variables and then starts the python installation that shipped with QGIS (and not system Python). I did a lot of trial and error to get my setup work the way I wanted, but in the end I ended up installing all packages that I needed into the QGIS Python and using that. It is a bit clumsy to use because you have to set all the variables first, but it works
|
|
Apr 4, 2020 at 19:56 | comment | added | Jake | I am facing the same problem. Could you add some more details to your answer? Which batch file are you referring to? Did you simply call the batch file before starting the Python interpreter, and then everything worked? | |
Mar 25, 2020 at 13:44 | comment | added | Till B | However a follow-up question arises, which I will post separately. | |
Mar 25, 2020 at 13:44 | history | answered | Till B | CC BY-SA 4.0 |