You are not logged in.

#1 2020-03-31 16:56:32

benoliver999
Member
From: Sheffield
Registered: 2014-02-01
Posts: 39
Website

The 'tzlocal<2.0,>=1.5' distribution was not found

The jrnl package is not working. Spits out the following:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 792, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (tzlocal 2.0.0 (/usr/lib/python3.8/site-packages), Requirement.parse('tzlocal<2.0,>=1.5'), {'jrnl'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/jrnl", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3238, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3267, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 586, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 599, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'tzlocal<2.0,>=1.5' distribution was not found and is required by jrnl

There is a dependency missing, ansiwrap, but I have added it to the AUR and installed it to no avail.

tzlocal is at version 2 and installs fine as part of the jrnl PKGBUILD.

Does anyone know of any issues with it?

Offline

#2 2020-03-31 19:38:16

loqs
Member
Registered: 2014-03-06
Posts: 18,824

Re: The 'tzlocal<2.0,>=1.5' distribution was not found

pkg_resources.DistributionNotFound: The 'tzlocal<2.0,>=1.5' distribution was not found and is required by jrnl

python-tzlocal in the repositories is 2.0.0-3,  2.0.0 is not less than 2.0.

Offline

#3 2020-04-01 00:16:39

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: The 'tzlocal<2.0,>=1.5' distribution was not found


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB