![]() In general, when you install packages, there are two ways to install them: either system-wide, or only for yourself. In this case, you should not really worry about it as I assume Anki’s installer knows what it does. This is exactly why you would use a package manager in the first place, however when you decide to install a package by hand, you are forced do some system administration (which requires doing them as root) yourself, hence the sudo. I fear both the basic insecurity of being asked to install via sudo, and I don’t want anki to screw around with my Python libraries or other system files. ![]() Given generic advice about the insecurity of that, as well as all the the other packaging issues, I really don’t like that idea, at least without some compelling confidence-building explanations of how it is safe in this case. Who can help with either the version issue or the missing anki command? I wish you would modify the binary install so it doesn’t need sudo, or at least clarify why you’ve chosen not to.įixing the pip install seems best offhand. ![]() ![]() zst file from apps dot ankiweb dot net which is up-to-date, but it wants me to run sudo install. So it seems like it worked at the end, for the older version at least, but I end up with no anki command. Installing collected packages: protobuf, stringcase, decorator, idna, charset-normalizer, urllib3, certifi, PySocks, requests, distro, orjson, soupsieve, beautifulsoup4, zipp, ]ĮRROR: Failed building wheel for stringcase errorĮRROR: Command errored out with exit status 1:Ĭommand: /home/neal/Envs/anki/bin/python3 -u -c 'import sys, setuptools, tokenize sys.argv = '"'"'/tmp/pip-install-_jin2wk_/stringcase/setup.py'"'"' _file_='"'"'/tmp It is pulling 2.1.49 rather than the latest (and pypi even advertises 2.1.54 which is the latest now it seems).īuilding wheels for collected packages: stringcaseīuilding wheel for stringcase (setup.py). I tried pip install anki (using Python 3.8.10 and pip 22.1.2), but had several questions about that. Snap says version 2.1.35 will be the last stable version for snap, as the upstream was sometimes changing the whole build system to use Bazel) pip I prefer to install via apt or snap since they automatically keep up-to-date with security issues, but the versions there are far out-of-date, so the volunteers managing those have not kept up. I’m trying to get Anki running on Ubuntu 20.04, and running into issues with every method I’ve tried. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |