<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi folks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I have a question regarding the Python version in QGIS 3.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I installed the latest nightly build of Qgis 2.99 on Windows 64bit and wanted to start porting self-written QGIS 2 plugins to be QGIS 3 compatible!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">My approach would have been to redo the conversion steps with pyuic5 and pyrcc5 (for PyQt5) and then correcting for removed classes.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Now I faced quite exactly the same problem as here:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><a href="https://gis.stackexchange.com/questions/260743/how-to-compile-qtdesigner-user-interface-ui-and-resource-qrc-files-with-qg">https://gis.stackexchange.com/questions/260743/how-to-compile-qtdesigner-user-interface-ui-and-resource-qrc-files-with-qg</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">though, I was not yet successful to get the suggested solution to work, because it is really painful on windows with environment variables. And since I have another independent Python installed, this sometimes becomes
 a big mess. [Side note: because of that very reason, I will go for NixOS very soon]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So my questions now are:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">*) Do you think, that being unable to run pyrcc5.bat properly is caused by the fact that it is searching for Python27 instead of Python36? And as soon as I change the etc\ini\python-core.bat to point to Python36 instead,
 there seem to be problems with the PATH / PYTHONPATH environment varibles.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">*) What is Python27 doing there in first place? Because from my understanding, one major change in QGis3 is to step from 2.7 to 3.6, removing 2.7 completely. Or why is it still there?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">The reason of the quite vague formulation of my question might be, that I am not sure, whether the problem caused by me (w.r.t. the environment variables PATH/PYTHONPATH, which is usually the solution to problems with
 import errors of dlls, modules, etc. under Win) or is it still some early version issue of the Win-Version of QGis 2.99, as Python 2.7 seems still to be there? Or is it a mixture of both? About 15-20 hours of online research have contributed rather to my confusion
 than to insight </span><span lang="EN-GB" style="font-family:Wingdings">J</span><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">If anyone happens to have had similar issues with developing for QGis3 (2.99) on Win + working solutions (e.g. hints regarding the system setup when multiple QGis versions are installed and maybe even another independent
 Python36 exists), I would really appreciate some help.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thank you all in advance and best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Hannes<o:p></o:p></span></p>
</div>
</body>
</html>