InvokeAI: [bug]: ModuleNotFoundError: No module named 'ldm'
Is there an existing issue for this?
- I have searched the existing issues
OS
Windows
GPU
cuda
VRAM
11
What happened?
After installing using Install.bat, running Invoke.bat adds this error.
Do you want to generate images using the
1. command-line
2. browser-based UI
3. open the developer console
Please enter 1, 2 or 3: 2
Starting the InvokeAI browser-based UI..
Traceback (most recent call last):
File "E:\invokeAI\scripts\invoke.py", line 2, in <module>
import ldm.invoke.CLI
ModuleNotFoundError: No module named 'ldm'
Adding sys.path.append(“.”) to invoke.py fixes this, but than the next module is not loaded. It seems the “scripts” folder, doesn’t recognize all the modules from the root folder.
Screenshots
Additional context
No response
Contact Details
segev.moran.78@gmail.com
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 23
I
sovedworkarounded the issue by making the following changes to.\invokeai\.venv\Scripts\invoke.py
: