<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[QElectroTech — qet-tb-generator install linux using python3 -m venv]]></title>
		<link>https://qelectrotech.org/forum/viewtopic.php?id=2857</link>
		<atom:link href="https://qelectrotech.org/forum/extern.php?action=feed&amp;tid=2857&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in qet-tb-generator install linux using python3 -m venv.]]></description>
		<lastBuildDate>Sun, 02 Feb 2025 19:59:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20958#p20958</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>scorpio810 wrote:</cite><blockquote><p>Thanks, plc-user. <img src="https://qelectrotech.org/forum/img/smilies/nomicons/wink.png" width="20" alt="nomicons/wink" /></p></blockquote></div><p>You&#039;re welcome!&nbsp; <img src="https://qelectrotech.org/forum/img/smilies/nomicons/smile.png" width="20" alt="nomicons/smile" /> </p>]]></description>
			<author><![CDATA[null@example.com (plc-user)]]></author>
			<pubDate>Sun, 02 Feb 2025 19:59:51 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20958#p20958</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20957#p20957</link>
			<description><![CDATA[<p> </p><div class="codebox"><pre><code>source venv/bin/activate &amp;&amp; qelectrotech %F</code></pre></div><p><a href="https://github.com/qelectrotech/qelectrotech-source-mirror/commit/af33719995c748ab256240a934599b95e9f6b74a">https://github.com/qelectrotech/qelectr … 95e9f6b74a</a><br />Thanks, plc-user. <img src="https://qelectrotech.org/forum/img/smilies/nomicons/wink.png" width="20" alt="nomicons/wink" /></p><div class="codebox"><pre><code>16:30:28.938 Info:  project to use for qet_tb_generator:  &quot;/home/laurent/Qet-svn/git/qet/examples/industrial.qet&quot; 
16:30:28.938 Info:  qet_tb_generator not found : &quot;/home/laurent/.local/share/QElectroTech/QElectroTech/binary/qet_tb_generator&quot; 
16:30:28.938 Info:  qet_tb_generator not found : &quot;/home/laurent/qet_tb_generator&quot; 
16:30:28.938 Info:  qet_tb_generator not found : &quot;/home/laurent/.qet/qet_tb_generator&quot; 
16:30:28.972 Info:  qet_tb_generator found here: &quot;/home/laurent/venv/bin/qet_tb_generator&quot; 
16:30:29 INFO     QET Terminal Block Generator - v1.3.1 [main.main:840]
16:30:29 INFO     Using the file: /home/laurent/Qet-svn/git/qet/examples/industrial.qet [main.get_QET_fullpath:189]</code></pre></div><div class="quotebox"><blockquote><p>qet_tb_generator found here: &quot;/home/laurent/venv/bin/qet_tb_generator</p></blockquote></div><p> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sun, 02 Feb 2025 15:31:32 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20957#p20957</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20954#p20954</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>scorpio810 wrote:</cite><blockquote><p>Maybe with create your pyton virtual env?</p><div class="codebox"><pre><code>python3 -m venv venv/ &amp;&amp; source venv/bin/activate
pip install qet_tb_generator


laurent@debian:~$ whereis qet_tb_generator 
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator</code></pre></div><p>When you need qet_tb_generator activate your virtual env before.</p></blockquote></div><p>by<br /></p><div class="codebox"><pre><code>source venv/bin/activate</code></pre></div><div class="codebox"><pre><code>(venv) [14:20:26] laurent@debian:~$ whereis qet_tb_generator 
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator
(venv) [14:27:18] laurent@debian:~$ </code></pre></div><br /><p>Now in the same terminal launch QET<br /></p><div class="codebox"><pre><code>qelectrotech</code></pre></div><p>Example here<br />(venv) [14:20:26] laurent@debian:~$ qelectrotech </p><br /><br /><div class="codebox"><pre><code>14:19:59.059 Info:  project to use for qet_tb_generator:  &quot;/home/laurent/Qet-svn/git/qet/examples/industrial.qet&quot; 
14:19:59.059 Info:  success so far:  false   - now searching for  &quot;/home/laurent/.local/share/QElectroTech/QElectroTech/binary/qet_tb_generator&quot; 
14:19:59.059 Info:  success so far:  false   - now searching for  &quot;/home/laurent/qet_tb_generator&quot; 
14:19:59.059 Info:  success so far:  false   - now searching for  &quot;/home/laurent/.qet/qet_tb_generator&quot; 
14:19:59.059 Info:  success so far:  false   - now searching for  &quot;/home/laurent/venv/bin/qet_tb_generator&quot; 
14:19:59.091 Info:  success so far:  true   - now searching for  &quot;qet_tb_generator&quot; 
14:19:59 INFO     QET Terminal Block Generator - v1.3.1 [main.main:840]</code></pre></div><br /><p>Maybe edit QET launcher to ?<br /></p><div class="codebox"><pre><code>source venv/bin/activate &amp;&amp; qelectrotech %F</code></pre></div><p><a href="https://forums.raspberrypi.com/viewtopic.php?t=357911#p2145990">https://forums.raspberrypi.com/viewtopi … 1#p2145990</a><br /></p><div class="quotebox"><blockquote><p>My recommendation is to add this to the bottom of your &#039;~/.profile&#039; file -</p><br /><p>if [ ! -x ~/.venv ]; then<br />&nbsp; echo<br />&nbsp; echo &quot;Creating Python &#039;venv&#039; virtual environment&quot;<br />&nbsp; python -m venv --system-site-packages ~/.venv<br />fi<br />export VIRTUAL_ENV_DISABLE_PROMPT=1<br />source ~/.venv/bin/activate</p></blockquote></div><p> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sun, 02 Feb 2025 13:26:49 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20954#p20954</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20714#p20714</link>
			<description><![CDATA[<p> Thanks for your feed back. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Tue, 24 Dec 2024 12:00:40 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20714#p20714</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20712#p20712</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>scorpio810 wrote:</cite><blockquote><div class="quotebox"><cite>gleissoncg2 wrote:</cite><blockquote><p>Oh Great ! Worked perfectly ! Tks scorpio810 !</p></blockquote></div><p>Great, thanks, what have you used python virtual env or my debs packages?</p></blockquote></div><p>I added the ppa on my system with .deb packages. Working fine </p>]]></description>
			<author><![CDATA[null@example.com (gleissoncg2)]]></author>
			<pubDate>Mon, 23 Dec 2024 17:49:39 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20712#p20712</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20676#p20676</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>gleissoncg2 wrote:</cite><blockquote><p>Oh Great ! Worked perfectly ! Tks scorpio810 !</p></blockquote></div><p>Great, thanks, what have you used python virtual env or my debs packages? </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Wed, 18 Dec 2024 16:56:07 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20676#p20676</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20672#p20672</link>
			<description><![CDATA[<p> Oh Great ! Worked perfectly ! Tks scorpio810 ! </p>]]></description>
			<author><![CDATA[null@example.com (gleissoncg2)]]></author>
			<pubDate>Wed, 18 Dec 2024 14:49:46 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20672#p20672</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20657#p20657</link>
			<description><![CDATA[<p> Uploaded qet_tb_generator and pysimplegui to Ubuntu 24.04 on my PPA. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Tue, 17 Dec 2024 19:04:54 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20657#p20657</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20651#p20651</link>
			<description><![CDATA[<p> Maybe with create your pyton virtual env?</p><div class="codebox"><pre><code>python3 -m venv venv/ &amp;&amp; source venv/bin/activate
pip install qet_tb_generator


laurent@debian:~$ whereis qet_tb_generator 
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator</code></pre></div><p>When you need qet_tb_generator activate your virtual env before.<br />by<br /></p><div class="codebox"><pre><code>source venv/bin/activate</code></pre></div><p>ps: qet_tb_generator in virtual env can&#039;t be launched by QET directly, I don&#039;t know why at this time, so you need to do in the terminal and wrote qet_tb_generator for launch it and choose where is your project and select it.</p><p><strong><br />That&#039;s why I prefer the deb packages I had packaged, I think I also created them on the ubuntu PPA.<br />FYI qet_tb_generator need also pysimplegui with deb packages.</strong></p><p>See <a href="https://launchpad.net/~scorpio/+archive/ubuntu/qelectrotech-dev">https://launchpad.net/~scorpio/+archive … rotech-dev</a></p><p>and for the same way you if you want with pinning you can upgrade to lastest devel 0.100 versions, QET 0.8 release was now very very old.</p><p>Edit : Linux Mint 22. x is based on Ubuntu 24.04.<br />name is Noble. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Tue, 17 Dec 2024 17:04:10 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20651#p20651</guid>
		</item>
		<item>
			<title><![CDATA[qet-tb-generator install linux using python3 -m venv]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=20640#p20640</link>
			<description><![CDATA[<p> Hello everybody. I am having difficulty installing the terminal module. I&#039;m on version 0.8 on Linux Mint 22. I need help.<br /> On terminal :</p><p>gleissonjjc@gleissonjjc-Inspiron-3481:~$ sudo pip3 install qet_tb_generator<br />error: externally-managed-environment</p><p>× This environment is externally managed<br />╰─&gt; To install Python packages system-wide, try apt install<br />&nbsp; &nbsp; python3-xyz, where xyz is the package you are trying to<br />&nbsp; &nbsp; install.<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; If you wish to install a non-Debian-packaged Python package,<br />&nbsp; &nbsp; create a virtual environment using python3 -m venv path/to/venv.<br />&nbsp; &nbsp; Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make<br />&nbsp; &nbsp; sure you have python3-full installed.<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; If you wish to install a non-Debian packaged Python application,<br />&nbsp; &nbsp; it may be easiest to use pipx install xyz, which will manage a<br />&nbsp; &nbsp; virtual environment for you. Make sure you have pipx installed.<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; See /usr/share/doc/python3.12/README.venv for more information.</p><p>note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.<br />hint: See PEP 668 for the detailed specification. </p>]]></description>
			<author><![CDATA[null@example.com (gleissoncg2)]]></author>
			<pubDate>Tue, 17 Dec 2024 12:12:57 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=20640#p20640</guid>
		</item>
	</channel>
</rss>
