You are not logged in.
I can not get the installation of aur/openlp to work, because it does not allow
python to be <3.10 and all my experiments trying to circumvent that went
terribly wrong.
$ uname -a
Linux JsTux3 5.15.12-arch1-1 #1 SMP PREEMPT Wed, 29 Dec 2021 12:04:56 +0000
x86_64 GNU/Linux
Installed Arch via manual procedure of course.
Everything is kept up to date (except what I stated explicitely below) of
course.
For AUR I use yay as a helper. And yes, it is up to date too.
I am relatively new to Arch (one year at max, using it).
Already spent hours researching in the Wiki, on the Forums and using
search engines, I appear to be blind in some way or the other.
If there is something missing from your perspective: I'm sorry.
I'll be happy to post needed outputs of other commands and other important
requisites when asked for it.
Had aur/openlp installed via yay. It worked all as expected. But then,
pacman did not want to update anything, because version 3.10 of
core/python was available, but aur/openlp depended on python>=3.9 and
python<3.10
So I uninstalled aur/openlp: yay -R openlp and updated the system
pacman -Suy
Some days later, I needed aur/openlp again, so I tried to install it again
yay -S openlp
There appeared errors after entering the fake root environment.
Unthoughtfully, I did not document them, so do not know anymore, what exactly
those errors said. But yay complained that the installed python was higher
than required by aur/openlp. Also, following some advice in the forums,
I cleaned the cache of both pacman and yay, so the logs are lost too.
I installed aur/python39, because I thought, the links on
[the aur/openlp page](https://aur.archlinux.org/packages/openlp/) might be a
suggestion to use this as a replacement for downgrading core/python to
version 3.9 . Turned out, yay did the same complaint about mismatching
requirements again when yay -S openlp.
So I removed it yay -R python39
Following a youtube video about resolving dependency conflicts, I installed
aur/downgrade. Did a downgrade 'python<3.10' and went with version 3.9.9
This worked very well, though I do not like holding old version.
Doing another yay -S openlp seemed to run smoothly - no error messages.
When running openlp though, there was an error stating that a python modules
(required in PKGBUILD) , namely alembic, was not found by python so I
installed it manually.
When running openlp again, I got this error
Traceback (most recent call last):
File "/usr/bin/openlp", line 27, in <module>
from openlp.core.common import is_win, is_macosx
File "/usr/bin/openlp.py", line 4, in <module>
__import__('pkg_resources').run_script('OpenLP==2.4.6', 'openlp.py')
File "/home/spiderkangaroo/.local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 665, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/spiderkangaroo/.local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1451, in run_script
raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/openlp.py' not found in metadata at '/usr/lib/python3.9/site-packages/OpenLP-2.4.6-py3.9.egg-info'
This is the point, where I don't know any further.
My hope is that somewhere in this forum there are people that can help me find
the anwers to these Questions:
Why would the python module alembic not have been installed manually? It
should have been installed with aur/openlp.
Why is there this very strance python error, though it worked fine like one
week again, before uninstalling aur/openlp
Is there by any change some things I could do, to install aur/openlp again?
Thanks a lot and have a happy new year!
Last edited by spiderkangaroo (2022-01-01 16:57:34)
Offline
The comments in the AUR web page of openlp indicate that openlp itself needs an update.
Offline
Thank you very much @philo for pointing this out. It wasn't clear to me.
Offline