The 'tzlocal<3' distribution was not found and is required by wallabag-client
tyjak opened this issue · 3 comments
I have community/python-tzlocal 4.0.1-1
installed via aur archlnux package.
I've got an error on dependency with tzlocal when launch wallabag
client:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (tzlocal 4.0.1 (/usr/lib/python3.9/site-packages), Requirement.parse('tzlocal<3'), {'wallabag-client'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/wallabag", line 33, in <module>
sys.exit(load_entry_point('wallabag-client==1.8.0', 'console_scripts', 'wallabag')())
File "/usr/bin/wallabag", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3.9/site-packages/wallabag/wallabag.py", line 15, in <module>
from wallabag.commands.add import AddCommand, AddCommandParams
File "/usr/lib/python3.9/site-packages/wallabag/commands/add.py", line 10, in <module>
from wallabag.entry import Entry
File "/usr/lib/python3.9/site-packages/wallabag/entry.py", line 3, in <module>
import delorean
File "/usr/lib/python3.9/site-packages/delorean/__init__.py", line 7, in <module>
from delorean.dates import (
File "/usr/lib/python3.9/site-packages/delorean/dates.py", line 9, in <module>
import humanize
File "/usr/lib/python3.9/site-packages/humanize/__init__.py", line 2, in <module>
import pkg_resources
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'tzlocal<3' distribution was not found and is required by wallabag-client
Environment: Archlinux Linux 5.15.5-arch1-1
Package info:
:: Interrogation de AUR...
Dépôt : aur
Nom : wallabag-client
Mots-clés : Aucun
Version : 1.8.0-2
Description : Command line client for the self hosted read-it-later app Wallabag
URL : https://github.com/artur-shaik/wallabag-client
URL AUR : https://aur.archlinux.org/packages/wallabag-client
Groupes : Aucun
Licences : MIT
Fournit : Aucun
Dépend de : python-beautifulsoup4 python-pycryptodome python-requests python-click python-click-spinner python-click-repl python-pyxdg python-colorama python-setuptools python-delorean
python-tzlocal python-humanize python-lxml python-tabulate python-packaging python-babel python-markdownify
Construction des dépendances: python-setuptools python-wheel
Vérification des dépendances: Aucun
Dépendances optionnelles: Aucun
En conflit avec : Aucun
Mainteneur : bjo
Votes : 0
Popularité : 0.000000
Premier envoi : Fri 08 Jan 2021 09:30:20 PM CET
Dernières modifications: Sat 21 Aug 2021 05:38:32 PM CEST
Obsolète : No
I'm actually do not know why I restrict tzlocal
version. That's why, can you try last update and confirm that it works?
But I think you need modify package version in arch's PKGBUILD, or install app through pip install wallabag-client
.
Still have an error but with an other dependency:
pkg_resources.DistributionNotFound: The 'click<8.0,>=7.0' distribution was not found and is required by wallabag-client
I removed the <8.0
part and it works :)
I remember that click
version was restricted intentionally. But may be it is not relevant by now. I will check.