-
Notifications
You must be signed in to change notification settings - Fork 11
Description
When I download a Windows Installer, it had better do what it's supposed to without asking me to figure out python crap. That's your job.
Fresh 6.9.0 downloaded 15 minutes ago:
Preparing first run of this install - may take a minute or two...
Started Invoke process with PID 21232
Traceback (most recent call last):
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy\core_init_.py", line 24, in
from . import multiarray
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy\core\multiarray.py", line 10, in
from . import overrides
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy\core\overrides.py", line 8, in
from numpy.core._multiarray_umath import (
ImportError: DLL load failed while importing _multiarray_umath: The parameter is incorrect.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy_init_.py", line 144, in
from numpy.config import show as show_config
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy_config_.py", line 4, in
from numpy.core.multiarray_umath import (
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy\core_init.py", line 50, in
raise ImportError(msg)
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
- The Python version is: Python3.12 from "\?\UNC\10.0.33.99\Models\Invoke.venv\Scripts\python.exe"
- The NumPy version is: "1.26.4"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed while importing _multiarray_umath: The parameter is incorrect.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "Z:\Invoke.venv\Scripts\invokeai-web.exe_main.py", line 10, in
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\invokeai\app\run_app.py", line 20, in run_app
from invokeai.app.services.config.config_default import get_config
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\invokeai\app\services\config_init.py", line 4, in
from invokeai.app.services.config.config_default import InvokeAIAppConfig, get_config
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\invokeai\app\services\config\config_default.py", line 21, in
from invokeai.backend.model_hash.model_hash import HASHING_ALGORITHMS
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\invokeai\backend\model_hash\model_hash.py", line 11, in
from invokeai.app.util.misc import uuid_string
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\invokeai\app\util\misc.py", line 5, in
import numpy as np
File "\?\UNC\10.0.33.99\Models\Invoke.venv\Lib\site-packages\numpy_init_.py", line 149, in
raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
Invoke process exited with code 1port UV_LINK_MODE=copyor use--link-mode=copy` to suppress this warning.