@escape0707 RESOLVED! Thx very much
Search Criteria
Package Details: anki-bin 2.1.54-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/anki-bin.git (read-only, click to copy) |
---|---|
Package Base: | anki-bin |
Description: | Helps you remember facts (like words/phrases in a foreign language) efficiently. Installed with wheel. |
Upstream URL: | https://apps.ankiweb.net/ |
Keywords: | anki anki-git anki-official-binary-bundle anki-release-source anki20 |
Licenses: | AGPL3 |
Conflicts: | anki |
Provides: | anki |
Submitter: | Grafcube |
Maintainer: | Grafcube (escape0707) |
Last Packager: | Grafcube |
Votes: | 20 |
Popularity: | 4.24 |
First Submitted: | 2021-10-21 08:27 (UTC) |
Last Updated: | 2022-06-24 07:50 (UTC) |
Dependencies (19)
- python-beautifulsoup4
- python-decorator
- python-distro
- python-flask (python-flask-git, python-flask1)
- python-flask-cors
- python-jsonschema (python-jsonschema26)
- python-markdown
- python-orjson (python-orjson-git)
- python-protobuf (python-protobuf-git)
- python-pyqt6
- python-pyqt6-webengine
- python-pysocks
- python-requests
- python-send2trash
- python-waitress
- python-pip (make)
- lame (lame-altivec, lame-svn) (optional) – record sound
- mplayer (mplayer2, mplayer-vaapi, mplayer-svn, mplayer-gui-svn, mplayer2-build-git, mplayer-gui) (optional) – play sound
- mpv (mpv-sndio, mpv-semifull-git, mpv-thin, mpv-vapoursynth-git, mpv-caca, mpv-amd-full-git, mpv-light, mpv-pipewire, mpv-light-pulse, mpv-full, mpv-vapoursynth, mpv-git, mpv-full-git, mpv-full-build-git, mpv-build-git) (optional) – play sound. prefered over mplayer
Required by (2)
- kindle2anki-git (requires anki)
- subs2srs (requires anki) (optional)
Sources (5)
Latest Comments
marco.righi commented on 2022-06-08 18:28 (UTC)
escape0707 commented on 2022-06-08 11:16 (UTC) (edited on 2022-06-08 11:46 (UTC) by escape0707)
@marco.righi Your locally pip installed packages (request) is interfering with pacman managed python packages. Uninstall your user level packages and try again, I guess. Do report back even if it solves your problem.
marco.righi commented on 2022-06-08 10:42 (UTC)
anki-bin 2.1.53-1
Executing anki I got the following error:
Traceback (most recent call last):
File "/usr/bin/anki", line 17, in <module>
import aqt
File "/usr/lib/python3.10/site-packages/aqt/__init__.py", line 42, in <module>
from anki.collection import Collection
File "/usr/lib/python3.10/site-packages/anki/collection.py", line 63, in <module>
from anki.sync import SyncAuth, SyncOutput, SyncStatus
File "/usr/lib/python3.10/site-packages/anki/sync.py", line 14, in <module>
from .httpclient import HttpClient
File "/usr/lib/python3.10/site-packages/anki/httpclient.py", line 14, in <module>
import requests
File "/home/marco/.local/lib/python3.10/site-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/__init__.py", line 8, in <module>
from .connectionpool import (
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 29, in <module>
from .connection import (
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/connection.py", line 39, in <module>
from .util.ssl_ import (
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/__init__.py", line 3, in <module>
from .connection import is_connection_dropped
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/connection.py", line 3, in <module>
from .wait import wait_for_read
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/wait.py", line 1, in <module>
from .selectors import (
File "/home/marco/.local/lib/python3.10/site-packages/urllib3/util/selectors.py", line 14, in <module>
from collections import namedtuple, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
Solutions?
Thx
escape0707 commented on 2022-06-01 01:59 (UTC)
PKGBUILD is updated to name auxiliary files with their version to avoid giving you checksum failures.
It a minor PKGBUILD definition update, so users who have already installed 2.1.53 don't need to take any action. Those who previously can't install due to checksum failures could try again.
escape0707 commented on 2022-04-30 06:56 (UTC) (edited on 2022-04-30 07:03 (UTC) by escape0707)
@Novite I don’t know exactly why your locally installed resolvelib came into play during the pip install process. Did you make any special setup or maybe give a look at this?
Novite commented on 2022-04-30 06:08 (UTC)
I encounter error while building:
ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 189, in _main status = self.run(options, args) File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper return func(self, options, args) File "/usr/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 316, in run requirement_set = resolver.resolve( File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve self._result = resolver.resolve( File "/home/weber/.local/lib/python3.10/site-packages/resolvelib/resolvers.py", line 481, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "/home/weber/.local/lib/python3.10/site-packages/resolvelib/resolvers.py", line 348, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "/home/weber/.local/lib/python3.10/site-packages/resolvelib/resolvers.py", line 147, in _add_to_criteria matches = self._p.find_matches( TypeError: PipProvider.find_matches() got an unexpected keyword argument 'identifier'
escape0707 commented on 2022-04-26 08:51 (UTC) (edited on 2022-04-26 10:36 (UTC) by escape0707)
@Munzu
-
What you get is not signature check failure, but source files checksum failure.
-
By “previously downloaded files”, I mean the source files downloaded during makepkg process. For more info, please read https://man.archlinux.org/man/makepkg.8.en
You should learn about how to build and install AUR packages, then your confusion will go away automatically.
Munzu commented on 2022-04-26 08:36 (UTC)
I'm also getting signature check fails for runanki.py
and anki.desktop
. There don't seem to be any cached packages of Anki in /var/cache/pacman/pkg
for me to remove.
escape0707 commented on 2022-04-10 07:03 (UTC) (edited on 2022-06-08 11:19 (UTC) by escape0707)
@yoshi314 Please remove previously downloaded files and try again. They got updated comparing to previous versions.
yoshi314 commented on 2022-04-10 07:01 (UTC)
i am observing file signature issues.
runanki.py and anki.desktop fail checks.
escape0707 commented on 2022-04-09 10:20 (UTC) (edited on 2022-04-09 10:20 (UTC) by escape0707)
I think it's time to use PyQt6 for this upgrade. Let me do some check before publishing a new version.
yoshi314 commented on 2022-04-09 08:19 (UTC)
2.1.50 is out.
Pinned Comments
escape0707 commented on 2022-06-08 11:16 (UTC) (edited on 2022-06-08 11:46 (UTC) by escape0707)
@marco.righi Your locally pip installed packages (request) is interfering with pacman managed python packages. Uninstall your user level packages and try again, I guess. Do report back even if it solves your problem.