Acly / krita-ai-diffusion

Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.
https://www.interstice.cloud
GNU General Public License v3.0
6.98k stars 344 forks source link

Module not loaded upon clean install #1358

Closed Ethan-Ming closed 3 weeks ago

Ethan-Ming commented 3 weeks ago
image

OS X 12.7

image

``Module not loaded:

Traceback (most recent call last):

File "/Users/ethan/Library/Application Support/krita/pykrita/ai_diffusion/ init__.py",line 18,in

from .extension import AlToolsExtension

File "/Users/ethan/Library/ Application Support/krita/pykrita/ai_diffusion/ extension.py",line 7,in

from .settings import settings

File "/Users/ethan/Library/ Application Support/krita/pykrita/ai_diffusion/ settings.py" line 10,in

from .util import ismacos,is windows,user _data_dir,client_logger as log File "/Users/ethan/LibraryApplication Support/krita/pykrita/ai_diffusion/ util.py",line 136,in

def flatten(seq: Sequence[T listrTJl) Generator[T,None None]:

TypeError: unsupported operand type(s) for l: "TypeVar' and "types. GenericAlias'

Could not import ai diffusion``

Acly commented 3 weeks ago

Krita 5.2.x is required for the plugin.

If you want to do local diffusion you may also need macOS 14 or newer.