Closed pgy866 closed 2 years ago
You need to install tesseract on the system, see https://docs.weblate.org/en/latest/admin/install.html#other-system-requirements
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.
In case your question is already answered, making a donation is the right way to say thank you!
You need to install tesseract on the system, see https://docs.weblate.org/en/latest/admin/install.html#other-system-requirements
Thank you very much, now there are no errors and it is perfect。
The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.
ask for help
run
weblate migrate
Error message
it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time
After doing this, the problem is not solved https://stackoverflow.com/questions/62658237/it-seems-that-the-version-of-the-libffi-library-seen-at-runtime-is-different-fro
yaoying@yaoying-PC:~$ sudo apt update && sudo apt install\
> libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev libyaml-dev \
> libcairo-dev gir1.2-pango-1.0 libgirepository1.0-dev libacl1-dev libssl-dev \
> build-essential python3-gdbm python3-dev python3-pip python3-virtualenv virtualenv git
请输入密码:
验证成功
获取:1 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
获取:3 http://packages.microsoft.com/repos/code stable/main armhf Packages [63.0 kB]
命中:4 https://pro-driver-packages.uniontech.com eagle InRelease
获取:5 http://packages.microsoft.com/repos/code stable/main amd64 Packages [62.2 kB]
获取:6 http://packages.microsoft.com/repos/code stable/main arm64 Packages [63.2 kB]
获取:7 https://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
获取:2 https://home-store-img.uniontech.com/appstore deepin InRelease [6,125 B]
获取:8 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,092 B]
获取:9 https://home-store-img.uniontech.com/appstore deepin/appstore amd64 Packages [1,921 kB]
命中:10 https://community-packages.deepin.com/deepin apricot InRelease
命中:11 https://community-packages.deepin.com/printer eagle InRelease
已下载 2,129 kB,耗时 6秒 (368 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 6 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
注意,选中 'libxslt1-dev' 而非 'libxslt-dev'
注意,选中 'zlib1g-dev' 而非 'libz-dev'
注意,选中 'libcairo2-dev' 而非 'libcairo-dev'
build-essential 已经是最新版 (12.6)。
gir1.2-pango-1.0 已经是最新版 (1.42.4-8~deb10u1)。
git 已经是最新版 (1:2.20.1.2-2+deb10u3+security)。
libacl1-dev 已经是最新版 (2.2.53-4)。
libcairo2-dev 已经是最新版 (1.16.0.1-1+eagle)。
libfreetype6-dev 已经是最新版 (2.9.1-3+deb10u2)。
libgirepository1.0-dev 已经是最新版 (1.58.3-2)。
libjpeg-dev 已经是最新版 (1:1.5.2.6-1+dde)。
libssl-dev 已经是最新版 (1.1.1d.8-1)。
libxml2-dev 已经是最新版 (2.9.4.5-1+dde)。
libxslt1-dev 已经是最新版 (1.1.32.3-1+dde)。
libyaml-dev 已经是最新版 (0.2.1-1)。
python3-dev 已经是最新版 (3.7.3-1)。
python3-gdbm 已经是最新版 (3.7.3-1)。
python3-pip 已经是最新版 (18.1-5)。
python3-virtualenv 已经是最新版 (15.1.0+ds-2)。
virtualenv 已经是最新版 (15.1.0+ds-2)。
zlib1g-dev 已经是最新版 (1:1.2.12.1-1+eagle)。
下列软件包是自动安装的并且现在不需要了:
libao-common libao4 libeb16 libjpeg8 liblinear3 liblua5.3-0 libopencc2 libopencc2-data multiarch-support nmap
nmap-common
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 6 个软件包未被升级。
yaoying@yaoying-PC:~$ sudo apt-get install git libcairo2-dev git-review tesseract-ocr libtesseract-dev libleptonica-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
git 已经是最新版 (1:2.20.1.2-2+deb10u3+security)。
libcairo2-dev 已经是最新版 (1.16.0.1-1+eagle)。
libleptonica-dev 已经是最新版 (1.76.0-1)。
libtesseract-dev 已经是最新版 (4.0.0-2)。
tesseract-ocr 已经是最新版 (4.0.0-2)。
下列软件包是自动安装的并且现在不需要了:
libao-common libao4 libeb16 libjpeg8 liblinear3 liblua5.3-0 libopencc2 libopencc2-data multiarch-support nmap
nmap-common
使用'sudo apt autoremove'来卸载它(它们)。
下列【新】软件包将被安装:
git-review
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 6 个软件包未被升级。
需要下载 35.8 kB 的归档。
解压缩后会消耗 161 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 https://community-packages.deepin.com/deepin apricot/main amd64 git-review all 1.27.0-1 [35.8 kB]
已下载 35.8 kB,耗时 1秒 (69.0 kB/s)
正在选中未选择的软件包 git-review。
(正在读取数据库 ... 系统当前共安装有 246918 个文件和目录。)
准备解压 .../git-review_1.27.0-1_all.deb ...
正在解压 git-review (1.27.0-1) ...
正在设置 git-review (1.27.0-1) ...
正在处理用于 man-db (2.8.5-2) 的触发器 ...
yaoying@yaoying-PC:~$ pyenv virtualenv 3.10.1 weblate
yaoying@yaoying-PC:~$ echo "weblate" >> $HOME/.pyenv/versions/3.6.15/envs/weblate/.python-version
bash: /home/yaoying/.pyenv/versions/3.6.15/envs/weblate/.python-version: 没有那个文件或目录
yaoying@yaoying-PC:~$ pyenv activate weblate
pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
(weblate) yaoying@yaoying-PC:~$ pip install -e /home/yaoying/weblate
Obtaining file:///home/yaoying/weblate
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting pycairo>=1.15.3
Using cached pycairo-1.20.1-cp310-cp310-linux_x86_64.whl
Collecting user-agents<2.3,>=2.0
Using cached user_agents-2.2.0-py3-none-any.whl (9.6 kB)
Collecting openpyxl!=3.0.2,<3.1,>=2.6.0
Using cached openpyxl-3.0.9-py2.py3-none-any.whl (242 kB)
Collecting social-auth-core==4.1.0
Using cached social_auth_core-4.1.0-py3-none-any.whl (333 kB)
Collecting pyicumessageformat<1.1.0,>=1.0.0
Using cached pyicumessageformat-1.0.0-py3-none-any.whl (8.9 kB)
Collecting hiredis<2.1.0,>=1.0.1
Using cached hiredis-2.0.0.tar.gz (75 kB)
Collecting django-appconf<1.1,>=1.0.3
Using cached django_appconf-1.0.5-py3-none-any.whl (6.4 kB)
Collecting Cython<0.30,>=0.29.14
Using cached Cython-0.29.26-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
Collecting Django[argon2]<4.1,>=3.2
Using cached Django-4.0.1-py3-none-any.whl (8.0 MB)
Collecting filelock<3.5.0,>=3.0.0
Using cached filelock-3.4.2-py3-none-any.whl (9.9 kB)
Collecting diff-match-patch==20200713
Using cached diff_match_patch-20200713-py3-none-any.whl (61 kB)
Collecting python-redis-lock<3.8.0,>=3.6.0
Using cached python_redis_lock-3.7.0-py2.py3-none-any.whl (12 kB)
Collecting borgbackup<1.2.0,>=1.1.9
Using cached borgbackup-1.1.17.tar.gz (3.8 MB)
Collecting django-filter<22.0.0,>=2.4.0
Using cached django_filter-21.1-py3-none-any.whl (81 kB)
Collecting django-compressor<3.2,>=2.4
Using cached django_compressor-3.1-py2.py3-none-any.whl (149 kB)
Collecting pyparsing<3.1.0,>=3.0.5
Using cached pyparsing-3.0.6-py3-none-any.whl (97 kB)
Collecting pyahocorasick<1.5,>=1.4
Using cached pyahocorasick-1.4.2.tar.gz (321 kB)
Collecting Pygments<3.0,>=2.0
Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting celery[redis]<5.3,>=5.0.3
Using cached celery-5.2.3-py3-none-any.whl (405 kB)
Collecting cssselect<1.2.0,>=1.0.0
Using cached cssselect-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting translation-finder<3.0,>=2.7
Using cached translation_finder-2.10-py3-none-any.whl (82 kB)
Collecting sentry-sdk<1.6.0,>=0.13.0
Using cached sentry_sdk-1.5.2-py2.py3-none-any.whl (142 kB)
Collecting pygobject>=3.27.0
Using cached PyGObject-3.42.0-cp310-cp310-linux_x86_64.whl
Collecting weblate-language-data>=2021.5
Using cached weblate_language_data-2022.1-py3-none-any.whl (1.9 MB)
Collecting python-dateutil>=2.8.1
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting django-redis<6.0.0,>=4.11.0
Using cached django_redis-5.2.0-py3-none-any.whl (30 kB)
Collecting weblate-schemas==0.7
Using cached weblate_schemas-0.7-py3-none-any.whl (8.8 kB)
Collecting django-crispy-forms<1.13.1,>=1.9.0
Using cached django_crispy_forms-1.13.0-py3-none-any.whl (122 kB)
Collecting djangorestframework<3.14.0,>=3.11.0
Using cached djangorestframework-3.13.1-py3-none-any.whl (958 kB)
Collecting html2text<2020.1.17,>=2019.8.11
Using cached html2text-2020.1.16-py3-none-any.whl (32 kB)
Collecting GitPython<3.2.0,>=2.1.15
Using cached GitPython-3.1.26-py3-none-any.whl (180 kB)
Collecting lxml<4.8.0,>=4.6.3
Using cached lxml-4.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
Collecting translate-toolkit<3.6.0,>=3.5.1
Using cached translate-toolkit-3.5.2.tar.gz (6.0 MB)
Collecting bleach<5.0.0,>=3.1.1
Using cached bleach-4.1.0-py2.py3-none-any.whl (157 kB)
Collecting jellyfish!=0.8.3,!=0.8.4,!=0.8.5,!=0.8.6,!=0.8.7,!=0.8.8,<0.9.1,>=0.7.2
Using cached jellyfish-0.9.0.tar.gz (132 kB)
Collecting requests<2.28.0,>=2.20.0
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting social-auth-app-django==5.0.0
Using cached social_auth_app_django-5.0.0-py3-none-any.whl (24 kB)
Collecting siphashc<3.0,>=1.2
Using cached siphashc-2.1.tar.gz (6.6 kB)
Collecting jsonschema<4.4.0,>=3.0.0
Using cached jsonschema-4.3.3-py3-none-any.whl (71 kB)
Collecting misaka<2.2.0,>=2.1.0
Using cached misaka-2.1.1.tar.gz (125 kB)
Collecting Pillow<10.0.0,>=6.0.0
Using cached Pillow-9.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
Collecting oauthlib>=1.0.3
Using cached oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
Collecting python3-openid>=3.0.10
Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB)
Collecting cryptography>=1.4
Using cached cryptography-36.0.1-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB)
Collecting defusedxml>=0.5.0rc1
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting requests-oauthlib>=0.6.1
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting PyJWT>=2.0.0
Using cached PyJWT-2.3.0-py3-none-any.whl (16 kB)
Collecting packaging
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting six>=1.9.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting webencodings
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting setuptools<59.7.0,>=59.1.1
Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
Collecting vine<6.0,>=5.0.0
Using cached vine-5.0.0-py2.py3-none-any.whl (9.4 kB)
Collecting click-plugins>=1.1.1
Using cached click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)
Collecting click<9.0,>=8.0.3
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting billiard<4.0,>=3.6.4.0
Using cached billiard-3.6.4.0-py3-none-any.whl (89 kB)
Collecting click-repl>=0.2.0
Using cached click_repl-0.2.0-py3-none-any.whl (5.2 kB)
Collecting kombu<6.0,>=5.2.3
Using cached kombu-5.2.3-py3-none-any.whl (189 kB)
Collecting click-didyoumean>=0.0.3
Using cached click_didyoumean-0.3.0-py3-none-any.whl (2.7 kB)
Collecting pytz>=2021.3
Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting redis!=4.0.0,!=4.0.1,>=3.4.1
Using cached redis-4.1.0-py3-none-any.whl (171 kB)
Collecting prompt-toolkit
Using cached prompt_toolkit-3.0.24-py3-none-any.whl (374 kB)
Collecting cffi>=1.12
Using cached cffi-1.15.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (446 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting rcssmin==1.1.0
Using cached rcssmin-1.1.0-cp310-cp310-manylinux1_x86_64.whl (43 kB)
Collecting rjsmin==1.2.0
Using cached rjsmin-1.2.0-cp310-cp310-manylinux2014_x86_64.whl (47 kB)
Collecting sqlparse>=0.2.2
Using cached sqlparse-0.4.2-py3-none-any.whl (42 kB)
Collecting asgiref<4,>=3.4.1
Using cached asgiref-3.4.1-py3-none-any.whl (25 kB)
Collecting argon2-cffi>=19.1.0
Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi-bindings
Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB)
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting smmap<6,>=3.0.1
Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.18.0-cp310-cp310-linux_x86_64.whl
Collecting attrs>=17.4.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting amqp<6.0.0,>=5.0.9
Using cached amqp-5.0.9-py3-none-any.whl (50 kB)
Collecting et-xmlfile
Using cached et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting deprecated>=1.2.3
Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Collecting wrapt<2,>=1.10
Using cached wrapt-1.13.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (81 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting ruamel.yaml
Using cached ruamel.yaml-0.17.20-py3-none-any.whl (109 kB)
Collecting ua-parser>=0.10.0
Using cached ua_parser-0.10.0-py2.py3-none-any.whl (35 kB)
Collecting wcwidth
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting ruamel.yaml.clib>=0.2.6
Using cached ruamel.yaml.clib-0.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (519 kB)
Using legacy 'setup.py install' for borgbackup, since package 'wheel' is not installed.
Using legacy 'setup.py install' for hiredis, since package 'wheel' is not installed.
Using legacy 'setup.py install' for jellyfish, since package 'wheel' is not installed.
Using legacy 'setup.py install' for misaka, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyahocorasick, since package 'wheel' is not installed.
Using legacy 'setup.py install' for siphashc, since package 'wheel' is not installed.
Using legacy 'setup.py install' for translate-toolkit, since package 'wheel' is not installed.
Installing collected packages: wcwidth, vine, urllib3, pycparser, idna, charset-normalizer, certifi, wrapt, sqlparse, six, requests, pyparsing, prompt-toolkit, oauthlib, defusedxml, click, cffi, asgiref, amqp, smmap, setuptools, ruamel.yaml.clib, requests-oauthlib, pytz, python3-openid, pyrsistent, PyJWT, packaging, kombu, Django, deprecated, cryptography, click-repl, click-plugins, click-didyoumean, billiard, attrs, argon2-cffi-bindings, weblate-language-data, webencodings, ua-parser, social-auth-core, ruamel.yaml, rjsmin, redis, rcssmin, pycairo, lxml, jsonschema, gitdb, et-xmlfile, django-appconf, celery, argon2-cffi, weblate-schemas, user-agents, translation-finder, translate-toolkit, social-auth-app-django, siphashc, sentry-sdk, python-redis-lock, python-dateutil, pyicumessageformat, pygobject, Pygments, pyahocorasick, Pillow, openpyxl, misaka, jellyfish, html2text, hiredis, GitPython, filelock, djangorestframework, django-redis, django-filter, django-crispy-forms, django-compressor, diff-match-patch, Cython, cssselect, borgbackup, bleach, Weblate
Attempting uninstall: setuptools
Found existing installation: setuptools 58.1.0
Uninstalling setuptools-58.1.0:
Successfully uninstalled setuptools-58.1.0
Running setup.py install for translate-toolkit ... done
Running setup.py install for siphashc ... done
Running setup.py install for pyahocorasick ... done
Running setup.py install for misaka ... done
Running setup.py install for jellyfish ... done
Running setup.py install for hiredis ... done
Running setup.py install for borgbackup ... done
Running setup.py develop for Weblate
Successfully installed Cython-0.29.26 Django-4.0.1 GitPython-3.1.26 Pillow-9.0.0 PyJWT-2.3.0 Pygments-2.11.2 Weblate-4.11 amqp-5.0.9 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asgiref-3.4.1 attrs-21.4.0 billiard-3.6.4.0 bleach-4.1.0 borgbackup-1.1.17 celery-5.2.3 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.10 click-8.0.3 click-didyoumean-0.3.0 click-plugins-1.1.1 click-repl-0.2.0 cryptography-36.0.1 cssselect-1.1.0 defusedxml-0.7.1 deprecated-1.2.13 diff-match-patch-20200713 django-appconf-1.0.5 django-compressor-3.1 django-crispy-forms-1.13.0 django-filter-21.1 django-redis-5.2.0 djangorestframework-3.13.1 et-xmlfile-1.1.0 filelock-3.4.2 gitdb-4.0.9 hiredis-2.0.0 html2text-2020.1.16 idna-3.3 jellyfish-0.9.0 jsonschema-4.3.3 kombu-5.2.3 lxml-4.7.1 misaka-2.1.1 oauthlib-3.1.1 openpyxl-3.0.9 packaging-21.3 prompt-toolkit-3.0.24 pyahocorasick-1.4.2 pycairo-1.20.1 pycparser-2.21 pygobject-3.42.0 pyicumessageformat-1.0.0 pyparsing-3.0.6 pyrsistent-0.18.0 python-dateutil-2.8.2 python-redis-lock-3.7.0 python3-openid-3.2.0 pytz-2021.3 rcssmin-1.1.0 redis-4.1.0 requests-2.27.1 requests-oauthlib-1.3.0 rjsmin-1.2.0 ruamel.yaml-0.17.20 ruamel.yaml.clib-0.2.6 sentry-sdk-1.5.2 setuptools-59.6.0 siphashc-2.1 six-1.16.0 smmap-5.0.0 social-auth-app-django-5.0.0 social-auth-core-4.1.0 sqlparse-0.4.2 translate-toolkit-3.5.2 translation-finder-2.10 ua-parser-0.10.0 urllib3-1.26.8 user-agents-2.2.0 vine-5.0.0 wcwidth-0.2.5 webencodings-0.5.1 weblate-language-data-2022.1 weblate-schemas-0.7 wrapt-1.13.3
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/bin/python3.10 -m pip install --upgrade pip' command.
(weblate) yaoying@yaoying-PC:~$ pip install -r /home/yaoying/weblate/requirements-optional.txt
Ignoring importlib-metadata: markers 'python_version < "3.8"' don't match your environment
Requirement already satisfied: bleach<5.0.0,>=3.1.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 1)) (4.1.0)
Requirement already satisfied: borgbackup<1.2.0,>=1.1.9 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 2)) (1.1.17)
Requirement already satisfied: celery[redis]<5.3,>=5.0.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 3)) (5.2.3)
Requirement already satisfied: cssselect<1.2.0,>=1.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 4)) (1.1.0)
Requirement already satisfied: Cython<0.30,>=0.29.14 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 5)) (0.29.26)
Requirement already satisfied: diff-match-patch==20200713 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 6)) (20200713)
Requirement already satisfied: django-appconf<1.1,>=1.0.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 7)) (1.0.5)
Requirement already satisfied: django-compressor<3.2,>=2.4 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 8)) (3.1)
Requirement already satisfied: django-crispy-forms<1.13.1,>=1.9.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 9)) (1.13.0)
Requirement already satisfied: django-filter<22.0.0,>=2.4.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 10)) (21.1)
Requirement already satisfied: django-redis<6.0.0,>=4.11.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 11)) (5.2.0)
Requirement already satisfied: Django[argon2]<4.1,>=3.2 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 12)) (4.0.1)
Requirement already satisfied: djangorestframework<3.14.0,>=3.11.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 13)) (3.13.1)
Requirement already satisfied: filelock<3.5.0,>=3.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 14)) (3.4.2)
Requirement already satisfied: GitPython<3.2.0,>=2.1.15 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 15)) (3.1.26)
Requirement already satisfied: hiredis<2.1.0,>=1.0.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 16)) (2.0.0)
Requirement already satisfied: html2text<2020.1.17,>=2019.8.11 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 17)) (2020.1.16)
Requirement already satisfied: jellyfish!=0.8.3,!=0.8.4,!=0.8.5,!=0.8.6,!=0.8.7,!=0.8.8,<0.9.1,>=0.7.2 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 19)) (0.9.0)
Requirement already satisfied: jsonschema<4.4.0,>=3.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 20)) (4.3.3)
Requirement already satisfied: lxml<4.8.0,>=4.6.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 21)) (4.7.1)
Requirement already satisfied: misaka<2.2.0,>=2.1.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 22)) (2.1.1)
Requirement already satisfied: openpyxl!=3.0.2,<3.1,>=2.6.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 23)) (3.0.9)
Requirement already satisfied: Pillow<10.0.0,>=6.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 24)) (9.0.0)
Requirement already satisfied: pyahocorasick<1.5,>=1.4 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 25)) (1.4.2)
Requirement already satisfied: pycairo>=1.15.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 26)) (1.20.1)
Requirement already satisfied: Pygments<3.0,>=2.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 27)) (2.11.2)
Requirement already satisfied: pygobject>=3.27.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 28)) (3.42.0)
Requirement already satisfied: pyicumessageformat<1.1.0,>=1.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 29)) (1.0.0)
Requirement already satisfied: pyparsing<3.1.0,>=3.0.5 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 30)) (3.0.6)
Requirement already satisfied: python-dateutil>=2.8.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 31)) (2.8.2)
Requirement already satisfied: python-redis-lock<3.8.0,>=3.6.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 32)) (3.7.0)
Requirement already satisfied: requests<2.28.0,>=2.20.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 33)) (2.27.1)
Requirement already satisfied: sentry_sdk<1.6.0,>=0.13.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 34)) (1.5.2)
Requirement already satisfied: siphashc<3.0,>=1.2 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 35)) (2.1)
Requirement already satisfied: social-auth-app-django==5.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 36)) (5.0.0)
Requirement already satisfied: social-auth-core==4.1.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 37)) (4.1.0)
Requirement already satisfied: translate-toolkit<3.6.0,>=3.5.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 38)) (3.5.2)
Requirement already satisfied: translation-finder<3.0,>=2.7 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 39)) (2.10)
Requirement already satisfied: user-agents<2.3,>=2.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 40)) (2.2.0)
Requirement already satisfied: weblate-language-data>=2021.5 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 41)) (2022.1)
Requirement already satisfied: weblate-schemas==0.7 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements.txt (line 42)) (0.7)
Collecting aeidon<1.11.0,>=1.9.0
Using cached aeidon-1.10.1-py3-none-any.whl (148 kB)
Collecting boto3<1.21.0,>=1.15.0
Using cached boto3-1.20.33-py3-none-any.whl (131 kB)
Collecting chardet<5,>=3.0.4
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting django-auth-ldap<4.1.0,>=1.3.0
Using cached django_auth_ldap-4.0.0-py3-none-any.whl (20 kB)
Collecting django-zxcvbn-password==2.1.1
Using cached django_zxcvbn_password-2.1.1-py2.py3-none-any.whl (409 kB)
Collecting fluent.syntax<0.19,>=0.18.1
Using cached fluent.syntax-0.18.1-py2.py3-none-any.whl (16 kB)
Collecting git-review>=1.27.0
Using cached git_review-2.2.0-py3-none-any.whl (48 kB)
Collecting google-cloud-translate<3.7.0,>=3.0.0
Using cached google_cloud_translate-3.6.1-py2.py3-none-any.whl (111 kB)
Collecting iniparse==0.5
Using cached iniparse-0.5-py3-none-any.whl (24 kB)
Collecting Mercurial>=5.2
Using cached mercurial-6.0.1-cp310-cp310-linux_x86_64.whl
Collecting phply==1.2.5
Using cached phply-1.2.5-py2.py3-none-any.whl (74 kB)
Collecting psycopg2-binary<2.10.0,>=2.7.7
Using cached psycopg2_binary-2.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
Collecting python-akismet<0.5,>=0.4.2
Using cached python-akismet-0.4.2.tar.gz (9.4 kB)
Collecting python3-saml>=1.2.1
Using cached python3_saml-1.12.0-py3-none-any.whl (76 kB)
Requirement already satisfied: ruamel.yaml<0.18.0,>=0.16.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from -r /home/yaoying/weblate/requirements-optional.txt (line 33)) (0.17.20)
Collecting tesserocr>=2.3.0
Using cached tesserocr-2.5.2.tar.gz (57 kB)
Collecting zeep<4.2.0,>=3.2.0
Using cached zeep-4.1.0-py2.py3-none-any.whl (100 kB)
Requirement already satisfied: requests-oauthlib>=0.6.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from social-auth-core==4.1.0->-r /home/yaoying/weblate/requirements.txt (line 37)) (1.3.0)
Requirement already satisfied: oauthlib>=1.0.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from social-auth-core==4.1.0->-r /home/yaoying/weblate/requirements.txt (line 37)) (3.1.1)
Requirement already satisfied: python3-openid>=3.0.10 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from social-auth-core==4.1.0->-r /home/yaoying/weblate/requirements.txt (line 37)) (3.2.0)
Requirement already satisfied: defusedxml>=0.5.0rc1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from social-auth-core==4.1.0->-r /home/yaoying/weblate/requirements.txt (line 37)) (0.7.1)
Requirement already satisfied: cryptography>=1.4 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from social-auth-core==4.1.0->-r /home/yaoying/weblate/requirements.txt (line 37)) (36.0.1)
Requirement already satisfied: PyJWT>=2.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from social-auth-core==4.1.0->-r /home/yaoying/weblate/requirements.txt (line 37)) (2.3.0)
Collecting zxcvbn
Using cached zxcvbn-4.4.28.tar.gz (407 kB)
Requirement already satisfied: six in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from iniparse==0.5->-r /home/yaoying/weblate/requirements-optional.txt (line 19)) (1.16.0)
Collecting ply
Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting python-jose>=3.0.0
Using cached python_jose-3.3.0-py2.py3-none-any.whl (33 kB)
Requirement already satisfied: packaging in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from bleach<5.0.0,>=3.1.1->-r /home/yaoying/weblate/requirements.txt (line 1)) (21.3)
Requirement already satisfied: webencodings in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from bleach<5.0.0,>=3.1.1->-r /home/yaoying/weblate/requirements.txt (line 1)) (0.5.1)
Requirement already satisfied: kombu<6.0,>=5.2.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (5.2.3)
Requirement already satisfied: click-plugins>=1.1.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (1.1.1)
Requirement already satisfied: pytz>=2021.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (2021.3)
Requirement already satisfied: setuptools<59.7.0,>=59.1.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (59.6.0)
Requirement already satisfied: click<9.0,>=8.0.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (8.0.3)
Requirement already satisfied: click-didyoumean>=0.0.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (0.3.0)
Requirement already satisfied: billiard<4.0,>=3.6.4.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (3.6.4.0)
Requirement already satisfied: click-repl>=0.2.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (0.2.0)
Requirement already satisfied: vine<6.0,>=5.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (5.0.0)
Requirement already satisfied: redis!=4.0.0,!=4.0.1,>=3.4.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (4.1.0)
Requirement already satisfied: rjsmin==1.2.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from django-compressor<3.2,>=2.4->-r /home/yaoying/weblate/requirements.txt (line 8)) (1.2.0)
Requirement already satisfied: rcssmin==1.1.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from django-compressor<3.2,>=2.4->-r /home/yaoying/weblate/requirements.txt (line 8)) (1.1.0)
Requirement already satisfied: sqlparse>=0.2.2 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from Django[argon2]<4.1,>=3.2->-r /home/yaoying/weblate/requirements.txt (line 12)) (0.4.2)
Requirement already satisfied: asgiref<4,>=3.4.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from Django[argon2]<4.1,>=3.2->-r /home/yaoying/weblate/requirements.txt (line 12)) (3.4.1)
Requirement already satisfied: argon2-cffi>=19.1.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from Django[argon2]<4.1,>=3.2->-r /home/yaoying/weblate/requirements.txt (line 12)) (21.3.0)
Requirement already satisfied: gitdb<5,>=4.0.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from GitPython<3.2.0,>=2.1.15->-r /home/yaoying/weblate/requirements.txt (line 15)) (4.0.9)
Requirement already satisfied: attrs>=17.4.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from jsonschema<4.4.0,>=3.0.0->-r /home/yaoying/weblate/requirements.txt (line 20)) (21.4.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from jsonschema<4.4.0,>=3.0.0->-r /home/yaoying/weblate/requirements.txt (line 20)) (0.18.0)
Requirement already satisfied: cffi>=1.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from misaka<2.2.0,>=2.1.0->-r /home/yaoying/weblate/requirements.txt (line 22)) (1.15.0)
Requirement already satisfied: et-xmlfile in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from openpyxl!=3.0.2,<3.1,>=2.6.0->-r /home/yaoying/weblate/requirements.txt (line 23)) (1.1.0)
Requirement already satisfied: certifi>=2017.4.17 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from requests<2.28.0,>=2.20.0->-r /home/yaoying/weblate/requirements.txt (line 33)) (2021.10.8)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from requests<2.28.0,>=2.20.0->-r /home/yaoying/weblate/requirements.txt (line 33)) (2.0.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from requests<2.28.0,>=2.20.0->-r /home/yaoying/weblate/requirements.txt (line 33)) (1.26.8)
Requirement already satisfied: idna<4,>=2.5 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from requests<2.28.0,>=2.20.0->-r /home/yaoying/weblate/requirements.txt (line 33)) (3.3)
Requirement already satisfied: ua-parser>=0.10.0 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from user-agents<2.3,>=2.0->-r /home/yaoying/weblate/requirements.txt (line 40)) (0.10.0)
Collecting s3transfer<0.6.0,>=0.5.0
Using cached s3transfer-0.5.0-py3-none-any.whl (79 kB)
Collecting botocore<1.24.0,>=1.23.33
Using cached botocore-1.23.33-py3-none-any.whl (8.5 MB)
Collecting jmespath<1.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting python-ldap>=3.1
Using cached python_ldap-3.4.0-cp310-cp310-linux_x86_64.whl
Collecting google-cloud-core<3.0.0dev,>=1.3.0
Using cached google_cloud_core-2.2.1-py2.py3-none-any.whl (29 kB)
Collecting proto-plus>=0.4.0
Using cached proto_plus-1.19.8-py3-none-any.whl (45 kB)
Collecting google-api-core[grpc]<3.0.0dev,>=1.28.0
Using cached google_api_core-2.4.0-py2.py3-none-any.whl (111 kB)
Collecting isodate>=0.5.0
Using cached isodate-0.6.1-py2.py3-none-any.whl (41 kB)
Collecting xmlsec>=1.0.5
Using cached xmlsec-1.3.12-cp310-cp310-linux_x86_64.whl
Requirement already satisfied: ruamel.yaml.clib>=0.2.6 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from ruamel.yaml<0.18.0,>=0.16.0->-r /home/yaoying/weblate/requirements-optional.txt (line 33)) (0.2.6)
Collecting requests-file>=1.5.1
Using cached requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)
Collecting requests-toolbelt>=0.7.1
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting cached-property>=1.3.0
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting platformdirs>=1.4.0
Using cached platformdirs-2.4.1-py3-none-any.whl (14 kB)
Requirement already satisfied: argon2-cffi-bindings in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from argon2-cffi>=19.1.0->Django[argon2]<4.1,>=3.2->-r /home/yaoying/weblate/requirements.txt (line 12)) (21.2.0)
Requirement already satisfied: pycparser in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from cffi>=1.0.0->misaka<2.2.0,>=2.1.0->-r /home/yaoying/weblate/requirements.txt (line 22)) (2.21)
Requirement already satisfied: prompt-toolkit in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from click-repl>=0.2.0->celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (3.0.24)
Requirement already satisfied: smmap<6,>=3.0.1 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from gitdb<5,>=4.0.1->GitPython<3.2.0,>=2.1.15->-r /home/yaoying/weblate/requirements.txt (line 15)) (5.0.0)
Collecting google-auth<3.0dev,>=1.25.0
Using cached google_auth-2.3.3-py2.py3-none-any.whl (155 kB)
Collecting protobuf>=3.12.0
Using cached protobuf-3.19.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting googleapis-common-protos<2.0dev,>=1.52.0
Using cached googleapis_common_protos-1.54.0-py2.py3-none-any.whl (207 kB)
Collecting grpcio<2.0dev,>=1.33.2
Using cached grpcio-1.43.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)
Collecting grpcio-status<2.0dev,>=1.33.2
Using cached grpcio_status-1.43.0-py3-none-any.whl (10.0 kB)
Collecting rsa<5,>=3.1.4
Using cached rsa-4.8-py3-none-any.whl (39 kB)
Collecting cachetools<5.0,>=2.0.0
Using cached cachetools-4.2.4-py3-none-any.whl (10 kB)
Collecting pyasn1-modules>=0.2.1
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Requirement already satisfied: amqp<6.0.0,>=5.0.9 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from kombu<6.0,>=5.2.3->celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (5.0.9)
Collecting pyasn1<0.5.0,>=0.4.6
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting ecdsa!=0.15
Using cached ecdsa-0.17.0-py2.py3-none-any.whl (119 kB)
Requirement already satisfied: deprecated>=1.2.3 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from redis!=4.0.0,!=4.0.1,>=3.4.1->celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (1.2.13)
Requirement already satisfied: wrapt<2,>=1.10 in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from deprecated>=1.2.3->redis!=4.0.0,!=4.0.1,>=3.4.1->celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (1.13.3)
Requirement already satisfied: wcwidth in ./.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages (from prompt-toolkit->click-repl>=0.2.0->celery[redis]<5.3,>=5.0.3->-r /home/yaoying/weblate/requirements.txt (line 3)) (0.2.5)
Using legacy 'setup.py install' for python-akismet, since package 'wheel' is not installed.
Using legacy 'setup.py install' for tesserocr, since package 'wheel' is not installed.
Using legacy 'setup.py install' for zxcvbn, since package 'wheel' is not installed.
Installing collected packages: pyasn1, rsa, pyasn1-modules, protobuf, cachetools, jmespath, grpcio, googleapis-common-protos, google-auth, grpcio-status, google-api-core, ecdsa, botocore, zxcvbn, xmlsec, s3transfer, requests-toolbelt, requests-file, python-ldap, python-jose, proto-plus, ply, platformdirs, isodate, google-cloud-core, chardet, cached-property, zeep, tesserocr, python3-saml, python-akismet, psycopg2-binary, phply, Mercurial, iniparse, google-cloud-translate, git-review, fluent.syntax, django-zxcvbn-password, django-auth-ldap, boto3, aeidon
Running setup.py install for zxcvbn ... done
Running setup.py install for tesserocr ... done
Running setup.py install for python-akismet ... done
Successfully installed Mercurial-6.0.1 aeidon-1.10.1 boto3-1.20.33 botocore-1.23.33 cached-property-1.5.2 cachetools-4.2.4 chardet-4.0.0 django-auth-ldap-4.0.0 django-zxcvbn-password-2.1.1 ecdsa-0.17.0 fluent.syntax-0.18.1 git-review-2.2.0 google-api-core-2.4.0 google-auth-2.3.3 google-cloud-core-2.2.1 google-cloud-translate-3.6.1 googleapis-common-protos-1.54.0 grpcio-1.43.0 grpcio-status-1.43.0 iniparse-0.5 isodate-0.6.1 jmespath-0.10.0 phply-1.2.5 platformdirs-2.4.1 ply-3.11 proto-plus-1.19.8 protobuf-3.19.3 psycopg2-binary-2.9.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 python-akismet-0.4.2 python-jose-3.3.0 python-ldap-3.4.0 python3-saml-1.12.0 requests-file-1.5.1 requests-toolbelt-0.9.1 rsa-4.8 s3transfer-0.5.0 tesserocr-2.5.2 xmlsec-1.3.12 zeep-4.1.0 zxcvbn-4.4.28
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/bin/python3.10 -m pip install --upgrade pip' command.
(weblate) yaoying@yaoying-PC:~$ weblate migrate
[2022-01-12 12:04:17,093: WARNING/89265] Handled exception: SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)
Traceback (most recent call last):
File "/home/yaoying/.pyenv/versions/weblate/bin/weblate", line 33, in <module>
sys.exit(load_entry_point('Weblate', 'console_scripts', 'weblate')())
File "/home/yaoying/weblate/weblate/runner.py", line 34, in main
utility.execute()
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/django/core/management/__init__.py", line 401, in execute
django.setup()
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/django/apps/config.py", line 300, in import_models
self.models_module = import_module(models_module_name)
File "/home/yaoying/.pyenv/versions/3.10.1/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/yaoying/weblate/weblate/accounts/models.py", line 40, in <module>
from weblate.accounts.data import create_default_notifications
File "/home/yaoying/weblate/weblate/accounts/data.py", line 20, in <module>
from weblate.accounts.notifications import (
File "/home/yaoying/weblate/weblate/accounts/notifications.py", line 41, in <module>
from weblate.utils.markdown import get_mention_users
File "/home/yaoying/weblate/weblate/utils/markdown.py", line 24, in <module>
import misaka
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/misaka/__init__.py", line 3, in <module>
from .api import *
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/misaka/api.py", line 10, in <module>
from .callbacks import python_callbacks, to_string
File "/home/yaoying/.pyenv/versions/3.10.1/envs/weblate/lib/python3.10/site-packages/misaka/callbacks.py", line 10, in <module>
def cb_blockcode(ob, text, lang, data):
SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)
Try reinstalling cffi without using binary wheel:
pip install --force-reinstall --no-binary :all: cffi
PS: Posted in on SO as well: https://stackoverflow.com/a/70694565/225718
@nijel
You need to install tesseract on the system, see https://docs.weblate.org/en/latest/admin/install.html#other-system-requirements
Tesseract is listed as an optional requirement there. Is there no way to install weblate without it? I am 2 hours in downloading and compiling it and it just takes time and server space. I have no plans to use the "screenshots OCR" feature
The OCR feature is no longer optional, it's just the tesseract doesn't have to be installed on the system in most cases now as tesserocr
has binary wheels for the most of the supported platforms: https://pypi.org/project/tesserocr/#files so it's not necessary to compile it for most of the users.
I will clarify the docs.
I finally got weblate to install (it was quite the struggle in a shared webhosting environment), and I encountered the same error as @pgy866 above. I executed this as suggested:
pip install --force-reinstall --no-binary :all: cffi
Successfully built cffi pycparser
Installing collected packages: pycparser, cffi
Attempting uninstall: pycparser
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Attempting uninstall: cffi
Found existing installation: cffi 1.16.0
Uninstalling cffi-1.16.0:
Successfully uninstalled cffi-1.16.0
Successfully installed cffi-1.16.0 pycparser-2.21
and then executed weblate migrate
again, but it still errors out:
[2023-10-20 21:38:40,717: WARNING/6695] Handled exception: ImportError: /home/tipako/app/weblate/lib64/python3.11/site-packages/gi/_gi.cpython-311-x86_64-linux-gnu.so: undefined symbol: g_assertion_message_cmpint
Traceback (most recent call last):
File "/home/tipa/app/weblate/bin/weblate", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/weblate/runner.py", line 19, in main
utility.execute()
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/django/core/management/__init__.py", line 416, in execute
django.setup()
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/django/apps/config.py", line 123, in create
mod = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/weblate/fonts/apps.py", line 8, in <module>
from weblate.fonts.utils import check_fonts
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/weblate/fonts/utils.py", line 14, in <module>
import gi
File "/home/tipa/app/weblate/lib64/python3.11/site-packages/gi/__init__.py", line 40, in <module>
from . import _gi
ImportError: /home/tipa/app/weblate/lib64/python3.11/site-packages/gi/_gi.cpython-311-x86_64-linux-gnu.so: undefined symbol: g_assertion_message_cmpint
I'm lost, what is the issue?
Describe the issue
Python 3.10.1 pip install "Weblate[all]" error
deepin linux 20.3
I already tried
Steps to reproduce the behavior
Python 3.10.1 pip install "Weblate[all]" error
Expected behavior
No response
Screenshots
Exception traceback
No response
How do you run Weblate?
Git checkout
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response