Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I tried downloading the new update you posted. It dosn't seem to work. I'll get this error *ModuleNotFoundError: No module named 'filelock'* when launching Invoke AI. I have tried restarting my PC, also completely deleted InvokeAI and doing a fresh install, but the error persist.

Here is the full transcript (edited the username to say PC instead for obisous reasons).

Official standalone.

Loading...

Traceback (most recent call last):

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\runpy.py", line 196, in _run_module_as_main

    return _run_code(code, main_globals, None,

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\runpy.py", line 86, in _run_code

    exec(code, run_globals)

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\Scripts\invokeai-web.exe\__main__.py", line 4, in <module>

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\invokeai\app\api_app.py", line 21, in <module>

    from ..backend.util.logging import InvokeAILogger

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\invokeai\backend\__init__.py", line 4, in <module>

    from .generator import (

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\invokeai\backend\generator\__init__.py", line 4, in <module>

    from .base import (

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\invokeai\backend\generator\base.py", line 9, in <module>

    import diffusers

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\diffusers\__init__.py", line 3, in <module>

    from .configuration_utils import ConfigMixin

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\diffusers\configuration_utils.py", line 29, in <module>

    from huggingface_hub import hf_hub_download

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\huggingface_hub\__init__.py", line 322, in __getattr__

    submod = importlib.import_module(submod_path)

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\importlib\__init__.py", line 126, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "C:\Users\PC\AppData\Roaming\itch\apps\invokeai\invokeai3_standalone\env\lib\site-packages\huggingface_hub\file_download.py", line 21, in <module>

    from filelock import FileLock

ModuleNotFoundError: No module named 'filelock'

I'm getting the same result after trying to upgrade. :(

(1 edit)

Sorry for the issues!

You can fix your installation, by
1) Download this patch (1 MB)
2) Put it in your invokeai3_standalone folder
3) Unzip it

All new downloads of the standalone already have this patch.