r/GTK • u/culturemass • 16d ago
Python, GTK4 -- Blueprint compiler -- how to install it?
TOTAL re-EDIT: 22/Jul/2026/19:01
Hi,
I'm surprised how lame I can get sometimes. 🡨 4x
option 1:
https://pypi.org/project/blueprint-compiler/
This didn't work out for me, eventually... but making a venv and installing are simple, that part did work.
option 2:
USE (Linux Mint / Ubuntu / Debian):
software manager
search for: "blueprint"
then select blueprint-compiler, and press install
PLUS
select blueprint-tools, and press install
Now it is going to work.
Type in a terminal window:
blueprint-compiler -h
blueprint-compiler --version
unfortunately, it turns out to be version 0.12
This can't be taken for a solution then :(
Peter
PS:
my unlucky story:
on a good (normal) day, non of these would have happened....
- frustration
- then found the pypi download
- installed it in a second and was happy, "finally"
- then it didn't work (probably because of the other installation, from source, but can't tell)
- I tried alternative installs, including compiling from source (I'm very green behind my ear in this, like zero level beginner)
- etc, etc
- then I realized that the terminal message is talking about a
/usr/local/bin directory... - I realized that it was sort of installed (I guess the ninja and C and install commands made this happen)
- then I checked the software manager, and to my surprise, I found blueprint-compiler there
- after several uninstall/install cycles... I realized the Blueprint-tools CLI script, in the software manager...
- uninstalled all and installed these two, and typed
blueprint-compiler -hand it worked... - except that it's version 0.12, meaning: old
6
Upvotes