Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing python dependencies #2186

Closed
pabloeisenhut opened this issue Mar 21, 2024 · 7 comments
Closed

Missing python dependencies #2186

pabloeisenhut opened this issue Mar 21, 2024 · 7 comments

Comments

@pabloeisenhut
Copy link

Some AI functions in Nextcloud require python3.11-venv.

occ maintenance:repair output

ERROR: Failed to install python dependencies: Failed to create python venv: python3 -m venv ./python returned The virtual environment was not created successfully because ensurepip is not available.  On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

    apt install python3.11-venv

You may need to use sudo with that command.  After installing the python3-venv package, recreate your virtual environment.

Failing command: /var/www/html/custom_apps/llm/python/bin/python3
@joshtrichards
Copy link
Member

https://github.com/nextcloud/docker#adding-features

@sbe-arg
Copy link

sbe-arg commented Mar 23, 2024

@joshtrichards https://github.com/nextcloud/docker#adding-features is okay but in truenas app for example you cannot do this customization.

it would be ideal to have python3.11-venv installed as it will allow LLM app to work in truenas as well.

@sbe-arg
Copy link

sbe-arg commented Mar 23, 2024

as workaround I'm manually installing on the running pods python3-env XD lol so sad

@pabloeisenhut
Copy link
Author

@sbe-arg can you tell me your manual installation steps? When I try to install the dependency myself, I get an error message.

@sbe-arg
Copy link

sbe-arg commented Mar 23, 2024

In truenas scale UI console i open the pods for ssh and run the apt install command... Nothing else

@joshtrichards
Copy link
Member

You may want to try llm2 which uses a different deployment architecture: https://docs.nextcloud.com/server/latest/admin_manual/ai/app_llm2.html

@pabloeisenhut
Copy link
Author

You may want to try llm2 which uses a different deployment architecture: https://docs.nextcloud.com/server/latest/admin_manual/ai/app_llm2.html

That's great! Many thanks for the hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants