kohya-ss / kohya-ss/sd-scripts

No matching distribution found for tensorflow==2.10.1

Open
#297 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

I was able to install with Python 3.10.10 but ran into some issues. Created a new environment with 3.10.6 per instructions but get the following error while installing requirements

```
ERROR: Could not find a version that satisfies the requirement tensorflow==2.10.1 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.10.1
```

I'm running on macOS Ventura on Apple Silicon M2. Full output from install below.

```
Preparing metadata (setup.py) ... done
Collecting accelerate==0.15.0
Using cached accelerate-0.15.0-py3-none-any.whl (191 kB)
Collecting transformers==4.26.0
Using cached transformers-4.26.0-py3-none-any.whl (6.3 MB)
Collecting ftfy==6.1.1
Using cached ftfy-6.1.1-py3-none-any.whl (53 kB)
Collecting albumentations==1.3.0
Using cached albumentations-1.3.0-py3-none-any.whl (123 kB)
Collecting opencv-python==4.7.0.68
Using cached opencv_python-4.7.0.68-cp37-abi3-macosx_11_0_arm64.whl (31.1 MB)
Collecting einops==0.6.0
Using cached einops-0.6.0-py3-none-any.whl (41 kB)
Collecting diffusers[torch]==0.10.2
Using cached diffusers-0.10.2-py3-none-any.whl (503 kB)
Collecting pytorch-lightning==1.9.0
Using cached pytorch_lightning-1.9.0-py3-none-any.whl (825 kB)
Collecting bitsandbytes==0.35.0
Using cached bitsandbytes-0.35.0-py3-none-any.whl (62.5 MB)
Collecting tensorboard==2.10.1
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Collecting safetensors==0.2.6
Using cached safetensors-0.2.6-cp310-cp310-macosx_12_0_arm64.whl (389 kB)
Collecting gradio==3.16.2
Using cached gradio-3.16.2-py3-none-any.whl (14.2 MB)
Collecting altair==4.2.2
Using cached altair-4.2.2-py3-none-any.whl (813 kB)
Collecting easygui==0.98.3
Using cached easygui-0.98.3-py2.py3-none-any.whl (92 kB)
Collecting toml==0.10.2
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting voluptuous==0.13.1
Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
Requirement already satisfied: requests==2.28.2 in ./ez-lora/lib/python3.10/site-packages (from -r requirements.txt (line 18)) (2.28.2)
Collecting timm==0.6.12
Using cached timm-0.6.12-py3-none-any.whl (549 kB)
Collecting fairscale==0.4.13
Using cached fairscale-0.4.13-py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement tensorflow==2.10.1 (from versions: none)
ERROR: No matching distribution found for tensorflow==2.10.1
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with requirements.txt, especially tensorflow==2.10.1, and compare it with the reported macOS Ventura Apple Silicon M2 and Python 3.10.6 environment. Done means the documented environment can install the requirements without the reported no matching distribution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.