InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[resolved][bug]: Python version mismatch and could not find tb-nightly

Open 869Nitro opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

6GB

What version did you experience this issue on?

v2.3.5.post2

What happened?

Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32

ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10 ERROR: Could not find a version that satisfies the requirement tb-nightly (from gfpgan) (from versions: none) ERROR: No matching distribution found for tb-nightly

Screenshots

1

Additional context

No response

Contact Details

No response

869Nitro avatar Jun 20 '23 20:06 869Nitro

The issue has been resolved. In the screenshot I submitted earlier, you can see the field “pypi.tuna.tsinghua.edu.cn”. Due to the special network environment in my area, I configured a network acceleration server in advance, but this caused problems during the deployment process of this project. The reason for the failure was that some files that needed to be downloaded could not be downloaded. I am not a professional, but the following steps are how I solved the problem:

  1. Delete the pip cache located at “C:\Users\username\AppData\Local\pip\Cache”;
  2. Cancel the network acceleration source in the configuration file located at “C:\Users\username\AppData\Roaming\pip\pip.ini”;
  3. I use Clash to open a proxy CMD and then perform the installation of InvokeAI (this requires you to have or purchase proxy server nodes from a proxy agent).

869Nitro avatar Jun 21 '23 11:06 869Nitro

The issue has been resolved. In the screenshot I submitted earlier, you can see the field “pypi.tuna.tsinghua.edu.cn”. Due to the special network environment in my area, I configured a network acceleration server in advance, but this caused problems during the deployment process of this project. The reason for the failure was that some files that needed to be downloaded could not be downloaded. I am not a professional, but the following steps are how I solved the problem:

  1. Delete the pip cache located at “C:\Users\username\AppData\Local\pip\Cache”;
  2. Cancel the network acceleration source in the configuration file located at “C:\Users\username\AppData\Roaming\pip\pip.ini”;
  3. I use Clash to open a proxy CMD and then perform the installation of InvokeAI (this requires you to have or purchase proxy server nodes from a proxy agent).

Thanks, it works for me! Another option in step 3 is changing all https://github.com/ into https://ghproxy.com/https://github.com/ in stable-diffusion-webui/modules/launch.py;

StelleSand avatar Jun 22 '23 02:06 StelleSand

i also have this problem and via chang the mirro url and install: pip install tb-nightly -i https://mirrors.aliyun.com/pypi/simple it's works for me

taichuai avatar Aug 23 '23 07:08 taichuai