Closed jfsunx closed 1 year ago
Hi, what version of python do you have on your system ? You can do "python -V" in your CMD.
Thank you. The version is Python 3.10.10, by Anaconda.
Can you try this :
Download a Python installer from python.org. Choose Python 3.8/3.9 /3.10 and make sure to pick a 64 bit version. For example, this 3.8 installer: https://www.python.org/ftp/python/3.8.8/python-3.8.8-amd64.exe Double click on the installer to run it, and follow the steps in the installer. Check the box to add Python to your PATH, and to install py. At the end of the installer, there is an option to disable the PATH length limit. It is recommended to click this
Hello
I focuse the last line,
"Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/"
Do you install Visual Studio or C++ Build tools? Some components are compiled during installing process and they are used for it.
And you are using Anaconda. Don't forget to appropriately edit "install.bat". "openvino-ai-plugins-gimp" trys to install itself with Python virtual environment. Mixed use of pip and conda is the source of trouble regardless of "openvino-ai-plugins-gimp".
FYI, this is my way. I used Python provided at Microsoft Store. https://impsbl.hatenablog.jp/entry/StableDiffusionOnWindowsPCwith8GB-RAM_GIMP_en
Hello
I focuse the last line,
"Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/"
Do you install Visual Studio or C++ Build tools? Some components are compiled during installing process and they are used for it.
And you are using Anaconda. Don't forget to appropriately edit "install.bat". "openvino-ai-plugins-gimp" trys to install itself with Python virtual environment. Mixed use of pip and conda is the source of trouble regardless of "openvino-ai-plugins-gimp".
FYI, this is my way. I used Python provided at Microsoft Store. https://impsbl.hatenablog.jp/entry/StableDiffusionOnWindowsPCwith8GB-RAM_GIMP_en
There are some major changes made to the install.bat - It now includes automatic weight copy and stable-diffusion-1.4 & 1.5 model conversions etc. Please make sure to use Python from python.org as the version of Python that is available in the Microsoft Store may require installation of additional packages to work well with OpenVINO tools.
Thank you for your reply. I reinstalled Python without using anaconda and it really works. Perhaps there is something wrong with my environment. Anyway, now I can use this amazing plugin.
I encountered a problem during the installation. The output in CMD is as follows
Using cached scikit-learn-0.24.2.tar.gz (7.5 MB)
Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [54 lines of output]