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

Error During Install #68

Open
mybigbadself opened this issue Oct 13, 2023 · 3 comments
Open

Error During Install #68

mybigbadself opened this issue Oct 13, 2023 · 3 comments

Comments

@mybigbadself
Copy link

Windows 10
GIMP 2.99.6 Installed
Python 3.11.4

Followed the instructions on the install.

After running Install.bat I get the following error.

ERROR: Could not find a version that satisfies the requirement torch==1.8.1+cpu (from versions: 2.0.0, 2.0.0+cpu, 2.0.0+cu117, 2.0.0+cu118, 2.0.1, 2.0.1+cpu, 2.0.1+cu117, 2.0.1+cu118, 2.1.0, 2.1.0+cpu, 2.1.0+cu118, 2.1.0+cu121) ERROR: No matching distribution found for torch==1.8.1+cpu ERROR: Invalid requirement: 'GIMP-ML\.' Hint: It looks like a path. File 'GIMP-ML.' does not exist.

I also have a stable version of GIMP installed 2.10.34

@mybigbadself
Copy link
Author

tried on a clean install of Windows 11 and got the same error. after running install.bat.

ERROR: Could not find a version that satisfies the requirement torch==1.8.1+cpu (from versions: 2.0.0, 2.0.0+cpu, 2.0.0+cu117, 2.0.0+cu118, 2.0.1, 2.0.1+cpu, 2.0.1+cu117, 2.0.1+cu118, 2.1.0, 2.1.0+cpu, 2.1.0+cu118, 2.1.0+cu121)
ERROR: No matching distribution found for torch==1.8.1+cpu
ERROR: Invalid requirement: 'GIMP-ML\.'
Hint: It looks like a path. File 'GIMP-ML.' does not exist.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\mccab\Documents\GIMP-ML\gimpml_init_.py", line 1, in
from .tools.kmeans import get_kmeans as kmeans
File "C:\Users\mccab\Documents\GIMP-ML\gimpml\tools\kmeans.py", line 3, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
**** GIMP-ML Setup Ended ****

@DRB-Ecovium
Copy link

Use Python 3.8 and it will work.
image

@bmmtstb
Copy link

bmmtstb commented Feb 15, 2024

In the end, the install.bat wants to install the git project. But I struggled with the automatic version as well. It seems we should run everything from the parent directory. But just running (in the environment!) pip install . to install the setup.py works perfectly fine.

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

3 participants