Topic: qet-tb-generator install linux

Hello everybody. I am having difficulty installing the terminal module. I'm on version 0.8 on Linux Mint 22. I need help.
On terminal :

gleissonjjc@gleissonjjc-Inspiron-3481:~$ sudo pip3 install qet_tb_generator
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
   
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
   
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
   
    See /usr/share/doc/python3.12/README.venv for more information.

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.
hint: See PEP 668 for the detailed specification.

Re: qet-tb-generator install linux

Maybe with create your pyton virtual env?

python3 -m venv venv/ && 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

When you need qet_tb_generator activate your virtual env before.
by

source venv/bin/activate

ps: qet_tb_generator in virtual env can't be launched by QET directly, I don'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.


That's why I prefer the deb packages I had packaged, I think I also created them on the ubuntu PPA.
FYI qet_tb_generator need also pysimplegui with deb packages.

See https://launchpad.net/~scorpio/+archive … rotech-dev

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.

Edit : Linux Mint 22. x is based on Ubuntu 24.04.
name is Noble.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: qet-tb-generator install linux

Uploaded qet_tb_generator and pysimplegui to Ubuntu 24.04 on my PPA.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: qet-tb-generator install linux

Oh Great ! Worked perfectly ! Tks scorpio810 !

Re: qet-tb-generator install linux

gleissoncg2 wrote:

Oh Great ! Worked perfectly ! Tks scorpio810 !

Great, thanks, what have you used python virtual env or my debs packages?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: qet-tb-generator install linux

scorpio810 wrote:
gleissoncg2 wrote:

Oh Great ! Worked perfectly ! Tks scorpio810 !

Great, thanks, what have you used python virtual env or my debs packages?

I added the ppa on my system with .deb packages. Working fine

Re: qet-tb-generator install linux

Thanks for your feed back.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."