<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Calibri">Hi Zoltan,<br>
<br>
Thank you in advance for your help.<br>
<br>
For now, I didn't manage to find a suitable configuration by
setting paths and environment variables in a startup ".bat" file.
QGis still tries to load things from my system-wide Python folder
(c:\python), </font><font face="Calibri"><font face="Calibri">even
if no path or env variable points to it. T</font>hen, it fails.<br>
<br>
The only workaround I found is a bit rough : rename my c:\python
folder to c:\python.bak, run QGis, then rename back to the
original name ! Of course, this prevents from using QGis at the
same time with PyCharm or other Python stuff, and is not an
acceptable solution on the long term.<br>
<br>
Even if I don't have the skills to dive into QGis source code for
now, I may try to play around with some simple plugins. Then,
wouldn't it be a better idea to install QGis in "developer" mode,
by cloning / forking the GitHub repo ?<br>
<br>
Any suggestions are welcome.<br>
<br>
Kind regards. <br>
<br>
<br>
</font><br>
<div class="moz-cite-prefix">Le 09/06/2023 à 22:25, Zoltan a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:8193e50f-7d09-431e-8ee7-7315bb42f9dd@geograph.co.za">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="auto">Hi,<br>
</div>
<div dir="auto">I seem to remember that pycharm website provides
help on using pycharm with qgis, so don't mess with your
existing installations of python. <br>
</div>
<div dir="auto">The gist of it is that you add the pycharm startup
to the end of the bat file that qgis provides for setting up all
the env variables.<br>
</div>
<div dir="auto">Starting pycharm from the Taskbar will not set
these environment for you so use the edited bat file I describe
above.<br>
</div>
<div dir="auto">There might also be a way in your pycharm venv to
pre set these env vars.<br>
</div>
<div dir="auto">I have a new laptop which I have not yet set up
for this but if you are still stuck tomorrow, I'll set mine up
and let you know what works. <br>
</div>
<div dir="auto">Regards <br>
</div>
<div dir="auto">Zoltan <br>
<br>
</div>
</blockquote>
<br>
</body>
</html>