On Tuesday, July 23, 2024 at 1:05:59 PM UTC-4 [email protected] wrote: On Arch specifically (and its derivatives like Endeavor and Manjaro), the .so libs pulled in by pip generally cause issues when they override the system-level libs (just due to how tightly-integrated all the Arch packages are). I actually recommend overriding the python libs with the system libs on Arch.
I'm thinking of a situation where PyQt6 gets updated to say 6.8, while system is still at 6.7.5. I certainly wouldn't want to point the whole OS system to the Python version of the Qt libraries. Any change to the path would have to be local to the process that is running Leo. I have a Manjaro VM, and that's based on Arch. It's very nice. I'm not so taken with pacman, though. It seems I have to remember several command line flags just to do a basic install. And then there don't seem to be an equivalents for apt-get autoremove and apt-get autoclean. I see conflicting recipes on line. I also recommend avoiding installing things via pip on Arch, unless you're in a venv or other non-system python install. Generally a good thing, although I've been sloppy about that on other distros in the past. I'm not sure how to go about installing Python package that aren't in Arch packages, if pip isn't used. If you are not running pip as root it will install as --user. That's what I usually did and then I encountered those "break-system-packages" messages. If we don't install using --user then what alternative is there except a venv or equivalent? For Leo, I set the PYTHONPATH to point to my git clone repo, but that approach wouldn't be practical for all its dependencies. Arch is great! But it can give you an ample supply of foot-guns if you don't keep things tidy. Jake -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/98ee8701-b977-42e5-bbb4-deb8721a4114n%40googlegroups.com.
