Skip to content

Commit 2892b85

Browse files
authored
paperless: nltk fix (#7098)
1 parent e28ab86 commit 2892b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/paperless-ngx-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ echo -e "Paperless-ngx Database Password: \e[32m$DB_PASS\e[0m" >>~/paperless.cre
7979
echo -e "Paperless-ngx Database Name: \e[32m$DB_NAME\e[0m" >>~/paperless.creds
8080

8181
msg_info "Installing Natural Language Toolkit (Patience)"
82-
$STD uv pip install nltk --system
83-
$STD uv run -- python -m nltk.downloader -d /usr/share/nltk_data all
82+
$STD uv pip install --python 3.13 nltk
83+
$STD uv run --python 3.13 --with nltk -- python -m nltk.downloader -d /usr/share/nltk_data all
8484
sed -i -e 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
8585
msg_ok "Installed Natural Language Toolkit"
8686

0 commit comments

Comments
 (0)