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

I've been trying to install this for six months. Never succeeded. Will it ever work? #6222

Closed
1 task done
Thorev opened this issue Apr 15, 2024 · 6 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@Thorev
Copy link

Thorev commented Apr 15, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

rtx3070

GPU VRAM

8Gb

Version number

all of them

Browser

Firefox 124.0.2

Python dependencies

No response

What happened

Starting the InvokeAI browser-based UI..
Traceback (most recent call last):
File "C:\Users\tesmo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\tesmo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "D:\Ai\InvokeAI.venv\Scripts\invokeai-web.exe_main
.py", line 7, in
sys.exit(run_app())
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\run_app.py", line 10, in run_app
from invokeai.app.api_app import invoke_api
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\api_app.py", line 34, in
from .api.dependencies import ApiDependencies
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\api\dependencies.py", line 20, in
from ..services.download import DownloadQueueService
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\services\download_init
.py", line 4, in
from .download_default import DownloadQueueService, TqdmProgress
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\services\download\download_default.py", line 18, in
from invokeai.app.services.events.events_base import EventServiceBase
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\services\events_init.py", line 1, in
from .events_base import EventServiceBase # noqa F401
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\services\events\events_base.py", line 7, in
from invokeai.app.services.session_queue.session_queue_common import (
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\services\session_queue\session_queue_common.py", line 10, in
from invokeai.app.services.shared.graph import Graph, GraphExecutionState, NodeNotFoundError
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\services\shared\graph.py", line 18, in
from invokeai.app.invocations import * # noqa: F401 F403
File "D:\Ai\InvokeAI.venv\lib\site-packages\invokeai\app\invocations\controlnet_image_processors.py", line 9, in
from controlnet_aux import (
ModuleNotFoundError: No module named 'controlnet_aux'

What you expected to happen

I expected it to work

How to reproduce the problem

Install and run

Additional context

No response

Discord username

No response

@Thorev Thorev added the bug Something isn't working label Apr 15, 2024
@mirh
Copy link

mirh commented Apr 15, 2024

Can you try with python 3.11 and/or with a different internet connection?

@hipsterusername
Copy link
Member

This error specifically means you have an issue in your pip cache - use pip install controlnet_aux --force-reinstall --no-cache-dir in the "developer console". Then reinstall the application using the installer.

@ebr
Copy link
Member

ebr commented Apr 15, 2024

What is the InvokeAI.venv directory? Did you create that yourself?

Delete it completely and install using the official installer.

@jungleBadger
Copy link
Contributor

I have a very similar system (RTX 3070), and in my first install, I couldn't get PyTorch to recognize it.

After I tried Python 3.11, I was able to run it and use my GPU.

Please give it a try. Let me know if you still need help then. Once I get home, I can share the exact commands I used to install and run everything.

@gogurtenjoyer
Copy link
Contributor

Another simple solution is to completely clear your pip cache (for some reason, controlnet_aux seems to always be the problem these days, but clearing the whole cache doesn't require you to be in any particular venv):

pip cache purge

Afterwards, install InvokeAI from a freshly-unzipped installer.

@Thorev
Copy link
Author

Thorev commented Apr 15, 2024

Ok, I tried reinstalling Python, Visual Basic, InvokeAI, rebooted. Did not help. Then I did it all again and it worked! Thank you all! )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants