I am having a fair bit of trouble getting pyxid installed. I have several machines, all running fully updated manjaro linux, which is an arch derivative. My first attempt was:
$ pip install pyxid2
Defaulting to user installation because normal site-packages is not writeable
WARNING: Keyring is skipped due to an exception: Failed to unlock the keyring!
Collecting pyxid2
Downloading pyxid2-1.0.3-py3-none-any.whl (11 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/84/08/cf44ba85776b945da05262ff3992c1e82997aa20d37530abd337ac780158/pyxid2-1.0.3-py3-none-any.whl#sha256=9317e83dc6e16c500467c5b35d526ee6d92b76dcf0bdb86b8af655ff42ce2f12 (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/84/08/cf44ba85776b945da05262ff3992c1e82997aa20d37530abd337ac780158/pyxid2-1.0.3-py3-none-any.whl#sha256=9317e83dc6e16c500467c5b35d526ee6d92b76dcf0bdb86b8af655ff42ce2f12 has different version in metadata: '1.0.3'
Downloading pyxid2-1.0.3.tar.gz (11 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/56/1f/dddfcf39acbf5bb2bd54e8843c555d0614970509bcb636049e6c8b2f88e7/pyxid2-1.0.3.tar.gz#sha256=b7da934c40ba3f38c081dcd93ea0241836560424ef84d5b13937928269e5115b (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/56/1f/dddfcf39acbf5bb2bd54e8843c555d0614970509bcb636049e6c8b2f88e7/pyxid2-1.0.3.tar.gz#sha256=b7da934c40ba3f38c081dcd93ea0241836560424ef84d5b13937928269e5115b has different version in metadata: '1.0.3'
Downloading pyxid2-1.0.2-py3-none-any.whl (11 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/84/68/15786191ab22c492b3501a445c4b7c8454f10961cea0ebbcc1134ddeea61/pyxid2-1.0.2-py3-none-any.whl#sha256=5355d1e793041ca6d3dab7d9a9625779aa2d1578a2ce84df5d61e2180f6bd0f2 (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/84/68/15786191ab22c492b3501a445c4b7c8454f10961cea0ebbcc1134ddeea61/pyxid2-1.0.2-py3-none-any.whl#sha256=5355d1e793041ca6d3dab7d9a9625779aa2d1578a2ce84df5d61e2180f6bd0f2 has different version in metadata: '1.0.2'
Downloading pyxid2-1.0.2.tar.gz (10 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/9d/9b/53c04aee93ebe117b89f413999f8ac6058df6872992f73c4bd2012d3282f/pyxid2-1.0.2.tar.gz#sha256=7b250eb2a6786d5139eb326503255e9e981fcf76b4b4c9d4695291d1c06a608a (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/9d/9b/53c04aee93ebe117b89f413999f8ac6058df6872992f73c4bd2012d3282f/pyxid2-1.0.2.tar.gz#sha256=7b250eb2a6786d5139eb326503255e9e981fcf76b4b4c9d4695291d1c06a608a has different version in metadata: '1.0.2'
Downloading pyxid2-1.0.1-py3-none-any.whl (10 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/bf/99/98a84bad4e362a96d125142505c44de3cc900ecc6eaccd81567bca810de5/pyxid2-1.0.1-py3-none-any.whl#sha256=3a8e25b4addfc843fd2f2db2e858b11419237e249ab6e3ad708813f2abd5689d (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/bf/99/98a84bad4e362a96d125142505c44de3cc900ecc6eaccd81567bca810de5/pyxid2-1.0.1-py3-none-any.whl#sha256=3a8e25b4addfc843fd2f2db2e858b11419237e249ab6e3ad708813f2abd5689d has different version in metadata: '1.0.1'
Downloading pyxid2-1.0.1.tar.gz (10 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/ba/b8/21411dd5f85a2cf6e95be0100d74d321e9aee0075d6104eda8d314cde783/pyxid2-1.0.1.tar.gz#sha256=3210348ead823ad6605ac332bed72dd07a7ae0ae436920d8adc101ac43d3fc56 (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/ba/b8/21411dd5f85a2cf6e95be0100d74d321e9aee0075d6104eda8d314cde783/pyxid2-1.0.1.tar.gz#sha256=3210348ead823ad6605ac332bed72dd07a7ae0ae436920d8adc101ac43d3fc56 has different version in metadata: '1.0.1'
Downloading pyxid2-1.0-py3-none-any.whl (17 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/de/dc/e736ee8c9671a2376adfe1a67e16bab9cd34a07395bd1c8f48d6d6313346/pyxid2-1.0-py3-none-any.whl#sha256=ae26f1c0177ed56ba1bf84f7ae2cf3d2c42cd00a883366fc890f6b6aecc84e8a (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/de/dc/e736ee8c9671a2376adfe1a67e16bab9cd34a07395bd1c8f48d6d6313346/pyxid2-1.0-py3-none-any.whl#sha256=ae26f1c0177ed56ba1bf84f7ae2cf3d2c42cd00a883366fc890f6b6aecc84e8a has different version in metadata: '1.0'
Downloading pyxid2-1.0.tar.gz (8.0 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/6d/c6/2ff02242558ea828193a7362563e4ff0ca6df45ba83376e10592ee8d09ec/pyxid2-1.0.tar.gz#sha256=b8d9b6a75fb7bb5ef4617be71e5d234e573aa07cd5257b41611ce437ba848969 (from https://pypi.org/simple/pyxid2/). Requested pyxid2 from https://files.pythonhosted.org/packages/6d/c6/2ff02242558ea828193a7362563e4ff0ca6df45ba83376e10592ee8d09ec/pyxid2-1.0.tar.gz#sha256=b8d9b6a75fb7bb5ef4617be71e5d234e573aa07cd5257b41611ce437ba848969 has different version in metadata: '1.0'
ERROR: Could not find a version that satisfies the requirement pyxid2
ERROR: No matching distribution found for pyxid2
$
So then I grabbed the download links from the output above and tried a local install:
$ wget https://files.pythonhosted.org/packages/84/08/cf44ba85776b945da05262ff3992c1e82997aa20d37530abd337ac780158/pyxid2-1.0.3-py3-none-any.whl
$ pip install pyxid2-1.0.3-py3-none-any.whl
Defaulting to user installation because normal site-packages is not writeable
Processing ./pyxid2-1.0.3-py3-none-any.whl
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 454, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 319, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 176, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 80, in from_requirement
cands = build_iter_view(matches)
File "/usr/lib/python3.9/site-packages/resolvelib/structs.py", line 148, in build_iter_view
matches = list(matches)
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 285, in <genexpr>
if constraint.is_satisfied_by(c)
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py", line 66, in is_satisfied_by
return self.specifier.contains(candidate.version, prereleases=True)
File "/usr/lib/python3.9/site-packages/packaging/specifiers.py", line 790, in contains
item = parse(item)
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 57, in parse
return Version(version)
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 296, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
$
I get the same error if I try with earlier versions. Next, I tried installing from the git repo, which seems to give the same error:
$ pip install git+https://github.com/cedrus-opensource/pyxid/
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/cedrus-opensource/pyxid/
Cloning https://github.com/cedrus-opensource/pyxid/ to /tmp/pip-req-build-k019eqz7
Running command git clone -q https://github.com/cedrus-opensource/pyxid/ /tmp/pip-req-build-k019eqz7
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 454, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 319, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 176, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 80, in from_requirement
cands = build_iter_view(matches)
File "/usr/lib/python3.9/site-packages/resolvelib/structs.py", line 148, in build_iter_view
matches = list(matches)
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 285, in <genexpr>
if constraint.is_satisfied_by(c)
File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py", line 66, in is_satisfied_by
return self.specifier.contains(candidate.version, prereleases=True)
File "/usr/lib/python3.9/site-packages/packaging/specifiers.py", line 790, in contains
item = parse(item)
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 57, in parse
return Version(version)
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 296, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
$
At this point I can’t think of what to try next. Any suggestions?
Thanks.