InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]:

Open livecleo opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

32gb

What happened?

Hi I cannot get this running. SPECS Z690 Aorus Elite DDR4 i9-12900K CPU GPU Nvidea Gforce 3080ti

Python version Python 3.11.2 3.11.2 Checked in command prompt confirmed pip 22.3.1 from C:\ProgramFiles\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\site-packages\pip (python 3.11) From command prompt (( I have tried to instal Python 3.10.9 but unless i get it from the microsoft store Invoke cannot find it and I cannot find that exact version on the microsoft website only 3.10.10. ))

Issue Batch file closes with option 1 (command line) Closes with 2 (Browser based UI Closes with 3 (Run textual inversion)

I am not good with computers but would love some help with this as it seams I have a numpy issue? When I hit command line help I get below issue

Displaying command line help... OpenCV bindings requires "numpy" package. Install it via command: pip install numpy Traceback (most recent call last): File "C:\Users\PC3\invokeai.venv\Lib\site-packages\numpy\core_init_.py", line 23, in from . import multiarray File "C:\Users\PC3\invokeai.venv\Lib\site-packages\numpy\core\multiarray.py", line 10, in from . import overrides File "C:\Users\PC3\invokeai.venv\Lib\site-packages\numpy\core\overrides.py", line 6, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 198, in run_module_as_main File "", line 88, in run_code File "C:\Users\PC3\invokeai.venv\Scripts\invokeai.exe_main.py", line 4, in File "C:\Users\PC3\invokeai.venv\Lib\site-packages\ldm\invoke\CLI.py", line 15, in from ldm.generate import Generate File "C:\Users\PC3\invokeai.venv\Lib\site-packages\ldm\generate.py", line 15, in import cv2 File "C:\Users\PC3\invokeai.venv\Lib\site-packages\cv2_init.py", line 11, in import numpy File "C:\Users\PC3\invokeai.venv\Lib\site-packages\numpy_init_.py", line 140, in from . import core File "C:\Users\PC3\invokeai.venv\Lib\site-packages\numpy\core_init_.py", line 49, 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.11 from "C:\Users\PC3\invokeai.venv\Scripts\python.exe"
  • The NumPy version is: "1.23.5"

and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

Press any key to continue . . .

Screenshots

No response

Additional context

No response

Contact Details

[email protected]

livecleo avatar Feb 10 '23 03:02 livecleo

Hello! Here's the latest version of python 3.10 to download - just scroll to the bottom, and select Windows Installer (64 Bit) with Recommended to the right of it. When you install, make sure to check 'add python.exe to PATH'.

https://www.python.org/downloads/release/python-31010/

gogurtenjoyer avatar Feb 10 '23 03:02 gogurtenjoyer

I think this is the only error im having now can anyone help?

Starting the InvokeAI browser-based UI.. A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton'

livecleo avatar Feb 10 '23 07:02 livecleo

There has been no activity in this issue for 14 days. If this issue is still being experienced, please reply with an updated confirmation that the issue is still being experienced with the latest release.

github-actions[bot] avatar Feb 27 '23 06:02 github-actions[bot]

Due to inactivity, this issue was automatically closed. If you are still experiencing the issue, please recreate the issue.

github-actions[bot] avatar Mar 28 '23 06:03 github-actions[bot]