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

Move python dependencies installation to app first launch time #36

Open
Nuullll opened this issue Aug 14, 2024 · 0 comments
Open

Move python dependencies installation to app first launch time #36

Nuullll opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Nuullll
Copy link
Contributor

Nuullll commented Aug 14, 2024

Is your feature request related to a problem? Please describe.

Current installer requires a super stable internet connection to finish all python packages installation. If the process was interrupted, then AI Playground installation may end up with a broken python environment with some packages missing.

This is known to be one of the reason that AI Playground stuck at loading screen (and reinstall may or may not resolve it, depending on whether all python packages are successfully installed during the reinstall).

Describe the solution you'd like

Installer.exe only installs the electron UI frontend and creates a basic python environment. Move the python dependencies installation process to app first launch time (as a one-time initialization process). And always validate python environment on app start.

Additional context

Prior to implementing this feature, we need to implement device detection first (#37), so that we can install python deps accordingly.

@Nuullll Nuullll added the enhancement New feature or request label Aug 14, 2024
@Nuullll Nuullll self-assigned this Aug 14, 2024
mschuettlerTNG added a commit to TNG/AI-Playground that referenced this issue Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant