mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 09:54:36 +00:00
paperless: nltk fix (#7098)
This commit is contained in:
parent
e28ab86797
commit
2892b85a6f
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ echo -e "Paperless-ngx Database Password: \e[32m$DB_PASS\e[0m" >>~/paperless.cre
|
||||||
echo -e "Paperless-ngx Database Name: \e[32m$DB_NAME\e[0m" >>~/paperless.creds
|
echo -e "Paperless-ngx Database Name: \e[32m$DB_NAME\e[0m" >>~/paperless.creds
|
||||||
|
|
||||||
msg_info "Installing Natural Language Toolkit (Patience)"
|
msg_info "Installing Natural Language Toolkit (Patience)"
|
||||||
$STD uv pip install nltk --system
|
$STD uv pip install --python 3.13 nltk
|
||||||
$STD uv run -- python -m nltk.downloader -d /usr/share/nltk_data all
|
$STD uv run --python 3.13 --with nltk -- python -m nltk.downloader -d /usr/share/nltk_data all
|
||||||
sed -i -e 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
|
sed -i -e 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
|
||||||
msg_ok "Installed Natural Language Toolkit"
|
msg_ok "Installed Natural Language Toolkit"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue