Just to say that I have tried to install Gramps 6 on my Pi5 Bookworm which is supposedly compatible with orjson. I have done an install from the .zip but I cannot sort the dependency issue or orjson. Anybody know of a non programmers guide to installing orjson?
any tips gratefully
received.
The install seems to have gone OK just gramps won’t run because of the missing dependency
Some progress
This is an issue for Pi5 running Bookworm all python programs must be in
the venv virtual environment to “reduce conflicts” (Official Pi speak)
To prove this I set one up and installed orjson with no issues.
Looking further must now decide either to set up an environment purely
for Gramps or whether it will be easier to go system wide for the user
and as I largely only use the Pi for Gramps the system setup might be best.
Will keep you updated
phil
Pi5 Bookworm
using venv created a user environment into which I placed the extracted
ver 6 .tar
had to install gettext (using apt-get) as would not build without this
also installed orjson (using pip) as a precaution
Then sudo python3 setup.py build
and finally sudo python3 setup.py install
Seems to have got me a running copy with no missing dependencies reported.
Yes I have been reading more about this I have already had to revert to X11 from Wayland due to issues on dual screens so maybe Bookworm on Pi5 is not the way to go for now.
Not sure if it is now becoming more niche than general purpose and therefore may not be suitable for GRAMPS developers to warrant somebody spending time and effort getting 6 to work seamlessly.
@GeorgeWilmes Did you ever resolve this? I’m having this issue in an Ubuntu 24.04 environment under WSL on Windows 11.
If I try to pip install orjson outside of a virtual environment, I get the “externally managed environment” mentioned earlier, and after switching to a venv for gramps, I can install orjson, but then I get the gi error above.
Any hints will be appreciated. Thanks!
Resolved the situation just a few minutes after posting (isn’t that how it always works?). Anyway, gi requires PyGObject, but pip installing that failed because of “ERROR: Dependency ‘girepository-2.0’ is required but not found.”
So I installed that first, and then PyGObject installed successfully, and now I am able to run Gramps 6.0.3 in my environment.
As an aside, I’m curious, why run Gramps under WSL on Windows? Why not just run the Gramps Windows AIO? Presumably, because you can do more and deeper geeky things to Gramps if it’s running in it’s native Linux environment compared to hacking the Windows version?