<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PythonScript and system Python]]></title><description><![CDATA[<p dir="auto">I use the <a href="https://github.com/bruderstein/PythonScript/releases/tag/v3.0.7" rel="nofollow ugc">PythonScript 3.0.7-alpha</a> version because I exclusively code in Python3 and that was the latest version 3 release at the time.  It uses Python 3.8.9 and my system Python was 3.8.7 at the time, now “upgraded” to 3.8.10.  SO release upgrades, but still the same major/minor version of Python.</p>
<p dir="auto">I see now <a href="https://github.com/bruderstein/PythonScript/releases/tag/v3.0.10" rel="nofollow ugc">PythonScript 3.0.10-alpha</a> is the latest in the Python3 branch and it uses Python 3.10.1.</p>
<p dir="auto"><strong>QUESTION</strong>:<br />
Does the system Python minor version need to match the PythonScript minor version - in other words my 3.8 <code>!=</code> 3.10.  Is that a problem?  Those still using Python2 and PythonScript 1.5.4 - do your system Python and PythonScript minor versions match?  Do they <em><strong>need</strong></em> to?</p>
<p dir="auto">I ask because updating minor version (3.8 =&gt; 3.10) for system Python would involve reinstalling a bunch of modules / dependencies - not to mention Python3 &gt; 3.8 drops Windows 7 support (my ancient home machine).  And with the <a href="https://community.notepad-plus-plus.org/topic/22471/recompile-your-x64-plugins-with-new-header">latest 8.2.2 Notepad++ 64-bit plugin-breaking changes</a> and <a href="https://community.notepad-plus-plus.org/topic/22469/notepad-v8-2-2-release-candidate-5/6">PythonScript (slightly) affected</a> I’m wondering if it gets fixed in the latest (using 3.10.x) and now I’m “forced” to upgrade system Python as well as PythonScript to get the fix?</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22473/pythonscript-and-system-python</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 15:55:34 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22473.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Feb 2022 13:52:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PythonScript and system Python on Fri, 04 Mar 2022 07:19:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a> See <a href="https://github.com/bruderstein/PythonScript/releases/tag/v3.0.12" rel="nofollow ugc">https://github.com/bruderstein/PythonScript/releases/tag/v3.0.12</a> and <a href="https://github.com/bruderstein/PythonScript/releases/tag/v3.0.11" rel="nofollow ugc">https://github.com/bruderstein/PythonScript/releases/tag/v3.0.11</a> with the proposed updates</p>
]]></description><link>https://community.notepad-plus-plus.org/post/74879</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/74879</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Fri, 04 Mar 2022 07:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Wed, 02 Feb 2022 16:44:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a> said in <a href="/post/73586">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">My rebuild of the PythonScript 3.0.7-alpha including the new Notepad++ 8.2.2 fix.</p>
</blockquote>
<p dir="auto">As I re-read this I should note the link is to the actual PythonScript 3.0.7-alpha - <em><strong>NOT</strong></em> my rebuild.  I have not posted my rebuild, just done it locally.  <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/6219">@chcg</a> above posts how to rebuild PythonScript and indicates the next version may contain the fix:</p>
<blockquote>
<p dir="auto">I’m working on<br />
<a href="https://github.com/chcg/PythonScript/tree/scintilla_446" rel="nofollow ugc">https://github.com/chcg/PythonScript/tree/scintilla_446</a><br />
to bring the master in line with 8.2.1.</p>
<p dir="auto">And probably in an additional step the adaptation for 8.2.2 for the changed Sci_PositionCR size.</p>
</blockquote>
<p dir="auto">And at some point, I should eventually upgrade to Python 3.10 (from 3.8) and use the latest.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73629</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73629</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 02 Feb 2022 16:44:12 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Wed, 02 Feb 2022 00:06:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/6219">@chcg</a> said in <a href="/post/73589">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">to bring the master in line with 8.2.1.<br />
And probably in an additional step the adaptation for 8.2.2 for the changed Sci_PositionCR size.</p>
</blockquote>
<p dir="auto">So long as an updated PythonScript with Python 3 is available that address Notepad++ 8.2.2 updates to Sci_Position, I’ll adapt</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73590</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73590</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Wed, 02 Feb 2022 00:06:56 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 23:54:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a></p>
<p dir="auto">Maybe some explanation about the dependencies regarding boost and the python versions used there:</p>
<ol>
<li><a href="https://github.com/teeks99/boost-release-windows" rel="nofollow ugc">https://github.com/teeks99/boost-release-windows</a><br />
The official windows builds are created from that repo and just are compiled against one recent python version defined there</li>
<li><a href="https://github.com/sergey-shandar/getboost" rel="nofollow ugc">https://github.com/sergey-shandar/getboost</a><br />
, the binaries from 1. are taken and repackaged to nuget.</li>
</ol>
<p dir="auto">So to be able to use some current boost version also the python version comes in automatically from that repos above.</p>
<p dir="auto">To see how tp configure you local build checkout also the settings used for appveyor builds:<br />
<a href="https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/packages_appveyor.config" rel="nofollow ugc">https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/packages_appveyor.config</a><br />
and<br />
<a href="https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/PythonSettings_appveyor.props" rel="nofollow ugc">https://github.com/bruderstein/PythonScript/blob/master/PythonScript/project/PythonSettings_appveyor.props</a></p>
<p dir="auto">Newer boost versions have the header only regex build so that nuget package is not longer necessary. That was one reason to update. Another one the regex bugfixes.</p>
<p dir="auto">To stay at python 3.8 and have a current boost version it would require to setup an own boost build against that python version. That is nothing I’m willing to work on.</p>
<p dir="auto">I’m working on<br />
<a href="https://github.com/chcg/PythonScript/tree/scintilla_446" rel="nofollow ugc">https://github.com/chcg/PythonScript/tree/scintilla_446</a><br />
to bring the master in line with 8.2.1.</p>
<p dir="auto">And probably in an additional step the adaptation for 8.2.2 for the changed Sci_PositionCR size.</p>
<p dir="auto">Is there any specific reason to stay with WIN7as:<br />
Windows 7 support ended on January 14, 2020</p>
<p dir="auto">and the update to win10 is still available for free also no longer officially announced by Microsoft.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73589</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73589</guid><dc:creator><![CDATA[chcg]]></dc:creator><pubDate>Tue, 01 Feb 2022 23:54:33 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 21:58:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a> said in <a href="/post/73582">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">I hope this helps you in building PythonScript.</p>
</blockquote>
<p dir="auto">Don’t ask me how - I could never repeat it and with all the warnings and errors (from the other projects in the solution) spewing, I’m not confident at all, … but:</p>
<pre><code>PythonScript initialized with C:\usr\bin\npp64\plugins\Config\PythonScript\scripts\startup.py
Python 3.8.9 (tags/v3.8.9:a743f81, Apr  2 2021, 11:10:41) [MSC v.1928 64 bit (AMD64)]
Initialisation took 735ms
Ready.
&gt;&gt;&gt; editor.getTextRange(0,5)
'hello'
</code></pre>
<p dir="auto">My rebuild of the <a href="https://github.com/bruderstein/PythonScript/releases/tag/v3.0.7" rel="nofollow ugc">PythonScript 3.0.7-alpha</a> including the new Notepad++ 8.2.2 fix.</p>
<p dir="auto">I’m going to keep using this “test” build to see if it crashes and if so, I’ll assume it’s MY compiling, not the “update” which was just replacing:</p>
<ul>
<li>./NppPlugin/include/Scintilla.h</li>
<li>./NppPlugin/include/Sci_Position.h</li>
<li>./PythonScript/src/Scintilla.h</li>
<li>./PythonScript/src/Sci_Position.h</li>
</ul>
<p dir="auto">with their latest versions from the Notepad++ repo.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73586</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73586</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Tue, 01 Feb 2022 21:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 18:42:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a><br />
no, the tag is v3.0.7 for python 3.8.9</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73585</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73585</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 01 Feb 2022 18:42:08 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 18:39:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a></p>
<p dir="auto">One thing I forgot,<br />
I created my own branch <code>git checkout -b py38</code> and then did a<br />
<code>git reset  --hard v3.0.8</code> to get the python3.8 related settings.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73584</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73584</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 01 Feb 2022 18:39:49 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 18:29:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a> said in <a href="/post/73582">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">Mine would look like this.</p>
</blockquote>
<p dir="auto">THANKS!!! That may be what I was missing from mine.  Walk away and fingers crossed the developer / maintainer will update PythonScript for us.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73583</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73583</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Tue, 01 Feb 2022 18:29:48 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 18:18:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a></p>
<p dir="auto">So I installed VS 2019 and cloned PythonScript.<br />
Installed nuget dependencies and found out that vc142 libs are needed, yes it is VS2019.<br />
Ok, uninstalled Nuget packages and installed boost 1.78 and boost-regex 1.78 and … there is no boost-python 1.78, only 1.74. grrr :-(<br />
Uninstalled Nuget packages again, installed version 1.74 and … damn, I can’t retarget the solution to VS 2017 compatible libraries. What the…<br />
At this point, sorry - I’ll stop.<br />
Just in case you still have a VS 2017 installation, there is a file called PythonSettings.props in the PythonScript/projects directory.<br />
Open this in Visual Studio and change it according to your needs.</p>
<p dir="auto">Mine would look like this.</p>
<pre><code>  &lt;PropertyGroup Label="UserMacros"&gt;
    &lt;BoostBase&gt;D:\Repositories\npp_plugins\PythonScript\packages\boost_regex-vc141.1.74.0.0&lt;/BoostBase&gt;
    &lt;BoostPythonLibPath&gt;D:\Repositories\npp_plugins\PythonScript\packages\boost_python38-vc141.1.74.0.0\lib\native&lt;/BoostPythonLibPath&gt;
    &lt;PythonBase&gt;D:\ProgramData\Python\Python38_64&lt;/PythonBase&gt;
    &lt;PythonBaseX64&gt;D:\ProgramData\Python\Python38_64&lt;/PythonBaseX64&gt;
    &lt;PythonLibPath&gt;D:\ProgramData\Python\Python38_64\libs&lt;/PythonLibPath&gt;
    &lt;PythonLibPathX64&gt;D:\ProgramData\Python\Python38_64\libs&lt;/PythonLibPathX64&gt;
    &lt;HtmlHelpBase&gt;C:\Program Files (x86)\HTML Help Workshop&lt;/HtmlHelpBase&gt;
  &lt;/PropertyGroup&gt;
</code></pre>
<p dir="auto">I hope this helps you in building PythonScript.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73582</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73582</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 01 Feb 2022 18:18:31 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 16:30:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a> said in <a href="/post/73571">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">two NuGet packages, Python and Boost</p>
</blockquote>
<p dir="auto">I did a restore NuGet packages in VS, but I still get error:</p>
<pre><code>Error	C1083	Cannot open include file: 'pyconfig.h': No such file or directory	PythonScript	C:\Users\vinsworldcom\src\personal\Nppx64Plugins\PythonScript-3.0.7\packages\boost.1.74.0.0\lib\native\include\boost\python\detail\wrap_python.hpp	57	
</code></pre>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73580</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73580</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Tue, 01 Feb 2022 16:30:58 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 14:52:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a> said in <a href="/post/73571">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">two NuGet packages</p>
</blockquote>
<p dir="auto">We’re starting to get at the limits of my VS understanding - most of the time I’m just at a console typing <code>msbuild</code>.  Yikes!</p>
<p dir="auto">Cheers</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73573</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73573</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Tue, 01 Feb 2022 14:52:12 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 14:44:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a></p>
<p dir="auto">I will try a little later, after work today.<br />
If I remember correctly there were only two NuGet packages, Python and Boost to install.<br />
Phew … means I have to install VS again … and I thought this jug had passed me by for good.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73571</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73571</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 01 Feb 2022 14:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 14:39:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14479">@ekopalypse</a> said in <a href="/post/73569">PythonScript and system Python</a>:</p>
<blockquote>
<p dir="auto">building the 3_0_7 branch</p>
</blockquote>
<p dir="auto">Tried that last night and unless I’m not finding it - there are no instructions on what needs to be downloaded (dependencies) and just simply cloning the repo, importing to Visual Studio and “Build” failed miserably for me.</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73570</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73570</guid><dc:creator><![CDATA[Michael Vincent]]></dc:creator><pubDate>Tue, 01 Feb 2022 14:39:11 GMT</pubDate></item><item><title><![CDATA[Reply to PythonScript and system Python on Tue, 01 Feb 2022 14:32:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/14847">@michael-vincent</a></p>
<p dir="auto">Yes, looks like there is no candy for us :-(</p>
<p dir="auto">PythonScript.dll has a dependency on the corresponding python3.x.dlls, so this means either building the 3_0_7 branch with the required changes or upgrading Windows and Python and reinstalling all installed modules.<br />
Take a look at pip freeze, which can help you save and reinstall the current modules in this case.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/73569</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/73569</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 01 Feb 2022 14:32:45 GMT</pubDate></item></channel></rss>