Closed Jeff006 closed 6 months ago
Hi @Jeff006, to pip install gaphor, you need to be using Python 3.11 or 3.12. I doubt that you'll be able to successful get a development environment setup with Ubuntu 18.04 that version is 6 years old and is past end-of-life. We depend on very recent versions of GTK and related libraries. The full instructions on how to get a development environment setup are here: https://docs.gaphor.org/en/latest/linux.html#a-local-environment
@Jeff006 Additionally, we should probably increase the minimum Gaphas version from Gaphor.
You can always do pip install -U
to upgrade dependencies to the latest (required) version.
I didn't want a development environment but only an executable version. At the end, I gave up using pip
. I had an install that launched but then saving a document failed and also the interface was not looking like the last one. I just used flatpak
instead and it worked. The interface is the same as in the tutorial which was not the case with pip
. However, I'm interested by the Sphinx
integration so I will have to pip
at some point 😄
To Reproduce I just followed the described installation steps for Python:
Expected behavior I ended up having gaphas 3.8.3:
Then, when running gaphor I got the following error:
Then, I tried to get an older version of gaphas and installed the oldest satisfying the requirement: 3.1.0 (
gaphor 2.5.1 has requirement gaphas<4.0.0,>=3.1.0
)Now it seems that gaphor is working. I haven't played with it but at least it launches.
OS
NOTES:
Version Version of Gaphas: 3.8.0