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

Problems with Windows 1Click Auto Installer #32

Open
martin-neumann-gurus opened this issue Aug 9, 2024 · 6 comments
Open

Problems with Windows 1Click Auto Installer #32

martin-neumann-gurus opened this issue Aug 9, 2024 · 6 comments

Comments

@martin-neumann-gurus
Copy link

I tried to do for 3 times already the installation with the win_config.bat file, and I always get an error at the end. See image:
Error2

@Sanster
Copy link
Owner

Sanster commented Aug 12, 2024

I'm really sorry for replying late. From your logs, it seems that the script installed torchvision 0.19.0, which corresponds to pytorch version 2.4.0. However, pytorch 2.4.0 has the bug you mentioned in your screenshot: pytorch/pytorch#131662

The win_config.bat specifies the version of pytorch as torch==2.1.2 torchvision==0.16.2. I'm not sure why the target version was not installed; it might be related to the dependencies of the plugins. Could you try removing that line in win_config.bat and then install again?

@call iopaint install-plugins-packages

@martin-neumann-gurus
Copy link
Author

I removed that line but still get the same error. I found one more error right at the beginning of the script
Error

@martin-neumann-gurus
Copy link
Author

Any solution to that?

@Sanster
Copy link
Owner

Sanster commented Aug 21, 2024

I released a new version, iopaint==1.4.2, which removes unnecessary plugin dependencies and splits the old win_config.bat file.

  • win_setup.bat: Used for installing dependencies for the first time
  • win_config.bat: Launches the gradio parameter configuration interface
  • win_update.bat: To be executed when you need to update the iopaint version

Please unzip the original zip again and download the three bat files mentioned above.

@Sanster
Copy link
Owner

Sanster commented Aug 23, 2024

PyTorch currently has issues on Win11, related issue: pytorch/pytorch#131662

Could you try manually downloading the DLL file from https://www.dllme.com/dll/files/libomp140_x86_64#google_vignette as mentioned in pytorch/pytorch#131662 (comment), and then copy it to the C:\Windows\System32 directory?

@martin-neumann-gurus
Copy link
Author

I have Windows 10 and with the new scripts I could get the installation to work. Now I need a manual and ideas of best practices to get all the features to work.

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

No branches or pull requests

2 participants