<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=Regbot_EXE_for_windows</id>
	<title>Regbot EXE for windows - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rsewiki.electro.dtu.dk/index.php?action=history&amp;feed=atom&amp;title=Regbot_EXE_for_windows"/>
	<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Regbot_EXE_for_windows&amp;action=history"/>
	<updated>2026-06-12T11:25:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rsewiki.electro.dtu.dk/index.php?title=Regbot_EXE_for_windows&amp;diff=6574&amp;oldid=prev</id>
		<title>Jca: Created page with &quot;Back to Regbot  == Run the GUI ==  === The python version ===  In the regbot_gui directory, run the regbot.py script.  * On Linux, this command line should work:   cd regb...&quot;</title>
		<link rel="alternate" type="text/html" href="https://rsewiki.electro.dtu.dk/index.php?title=Regbot_EXE_for_windows&amp;diff=6574&amp;oldid=prev"/>
		<updated>2023-12-07T13:03:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Back to &lt;a href=&quot;/index.php?title=Regbot&quot; title=&quot;Regbot&quot;&gt;Regbot&lt;/a&gt;  == Run the GUI ==  === The python version ===  In the regbot_gui directory, run the regbot.py script.  * On Linux, this command line should work:   cd regb...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Back to [[Regbot]]&lt;br /&gt;
&lt;br /&gt;
== Run the GUI ==&lt;br /&gt;
&lt;br /&gt;
=== The python version ===&lt;br /&gt;
&lt;br /&gt;
In the regbot_gui directory, run the regbot.py script.&lt;br /&gt;
&lt;br /&gt;
* On Linux, this command line should work:&lt;br /&gt;
&lt;br /&gt;
 cd regbot_gui&lt;br /&gt;
 python3 regbot.py&lt;br /&gt;
&lt;br /&gt;
* On Windows&lt;br /&gt;
&lt;br /&gt;
Find the directory in your file browser (Stifinder)&lt;br /&gt;
&lt;br /&gt;
Start the file &amp;#039;regbot.py&amp;#039; - maybe create a shortcut on the desktop.&lt;br /&gt;
&lt;br /&gt;
If there are errors about libraries, then check if they are installed (from the list above).&lt;br /&gt;
&lt;br /&gt;
=== Regbot.exe for Windows ===&lt;br /&gt;
&lt;br /&gt;
A windows executable is generated (using the instructions below); this is found in a subdirectory called &amp;quot;dist&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cd Downloads&lt;br /&gt;
 &amp;gt; cd regbot&lt;br /&gt;
 &amp;gt; cd regbot_gui&lt;br /&gt;
 &amp;gt; cd dist&lt;br /&gt;
 &amp;gt; regbot&lt;br /&gt;
&lt;br /&gt;
Use the browser to locate the file and execute it.&lt;br /&gt;
It also holds all the needed python-libraries, so it takes a long time to start.&lt;br /&gt;
&lt;br /&gt;
The regbot.exe file is made on a Windows 10 (I don&amp;#039;t have anything newer if there are problems; revert to the Python version)&lt;br /&gt;
&lt;br /&gt;
NB! the version from 2022 does not work anymore; it has to have a date from 2023.&lt;br /&gt;
&lt;br /&gt;
=== Regbot GUI use===&lt;br /&gt;
&lt;br /&gt;
See the [[User interface]]&lt;br /&gt;
&lt;br /&gt;
== Make a windows EXE file ==&lt;br /&gt;
&lt;br /&gt;
If you installed all the python stuff, you don&amp;#039;t need the exe file.&lt;br /&gt;
&lt;br /&gt;
To make a single exe-file without the need to install anything, then it is a bit more complicated (for me at least)&lt;br /&gt;
&lt;br /&gt;
===Install python===&lt;br /&gt;
&lt;br /&gt;
* Install python (tested with version 3.8) from https://www.python.org/downloads/ - select &amp;#039;all users&amp;#039; in install options and also select &amp;#039;add to path&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
After installation, start &amp;#039;cmd&amp;#039; terminal windows as administrator (right-click on &amp;#039;cmd&amp;#039; and select &amp;#039;as administrator&amp;#039;) to install additional packages using &amp;#039;pip&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; pip install pyqt5&lt;br /&gt;
 &amp;gt; pip install pyqtgraph&lt;br /&gt;
 &amp;gt; pip install pyserial&lt;br /&gt;
 &amp;gt; pip install pyinstaller&lt;br /&gt;
 &amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
===Generate EXE file ===&lt;br /&gt;
&lt;br /&gt;
Open a &amp;#039;cmd&amp;#039; terminal window as a normal user&lt;br /&gt;
&lt;br /&gt;
Then make the EXE-file from the directory with the REGBOT GUI&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; cd Downloads\regbot_gui&lt;br /&gt;
 &amp;gt; pyinstaller --onefile regbot.py&lt;br /&gt;
&lt;br /&gt;
This takes some time, and the regbot.exe should be found in a &amp;#039;dist&amp;#039; subdirectory.&lt;br /&gt;
&lt;br /&gt;
Try:&lt;br /&gt;
 &amp;gt; cd dist&lt;br /&gt;
 &amp;gt; regbot.exe&lt;br /&gt;
&lt;br /&gt;
PS! tried also with Python 3.9, but regbot.exe failed with the error: &amp;quot;PyQt5.sip not found&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Jca</name></author>
	</entry>
</feed>