Description
Is there an existing issue for this problem?
- I have searched the existing issues
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
GIGABYTE GeForce RTX 4070 AERO OC (GV-N4070AERO OC-12GD)
GPU VRAM
12GB
Version number
InvokeAI 5.6.0
Browser
Firefox 134.0.2 (64-bit)
Python dependencies
{
"accelerate": "1.0.1",
"compel": "2.0.2",
"cuda": "12.4",
"diffusers": "0.31.0",
"numpy": "1.26.3",
"opencv": "4.9.0.80",
"onnx": "1.16.1",
"pillow": "10.2.0",
"python": "3.11.11",
"torch": "2.4.1+cu124",
"torchvision": "0.19.1+cu124",
"transformers": "4.46.3",
"xformers": null
}
What happened
When running the Invoke Community Edition.exe as admin in windows 11 64bit
No installation is found and the program must be installed every time.
(Cannot find installation) error upon launch of the Invoke Community Edition.exe file
Error:
No Invoke installation found at C:\Users\username\Invoke which is where it is installed
Clicking next shows Fresh install.
If there is a broken install at this location, we will reinstall it.
Which version should we install?
Click stable v5.6.0
click next, click 30xx and above, next, install
I get the install log:
Starting up...
Installation parameters:
- Install location: C:\Users\username\Invoke
- GPU type: nvidia>=30xx
- Torch Platform: cuda
Installing Python...
> C:\Users\username\AppData\Local\Temp\2rHu94CccoyX8gB7gxsDNPsxdcl\resources\bin\uv.exe python install 3.11 --python-preference only-managed
Installed Python 3.11.11 in 3.25s
+ cpython-3.11.11-windows-x86_64-none
Creating virtual environment...
> C:\Users\username\AppData\Local\Temp\2rHu94CccoyX8gB7gxsDNPsxdcl\resources\bin\uv.exe venv --relocatable --prompt invoke --python 3.11 --python-preference only-managed C:\Users\username\Invoke\.venv
Using CPython 3.11.11
Creating virtual environment at: C:\Users\username\Invoke\.venv
Activate with: C:\Users\username\Invoke\.venv\Scripts\activate
Installing invokeai package...
> C:\Users\username\AppData\Local\Temp\2rHu94CccoyX8gB7gxsDNPsxdcl\resources\bin\uv.exe pip install --python 3.11 --python-preference only-managed invokeai==v5.6.0 --force-reinstall --compile-bytecode --index=https://download.pytorch.org/whl/cu124
Resolved 166 packages in 1.46s
Prepared 166 packages in 58ms
Installed 166 packages in 2.76s
Bytecode compiled 19089 files in 5.16s
+ absl-py==2.1.0
+ accelerate==1.0.1
+ aiohappyeyeballs==2.4.4
+ aiohttp==3.11.11
+ aiosignal==1.3.2
+ albucore==0.0.20
+ albumentations==1.4.21
+ annotated-types==0.7.0
+ antlr4-python3-runtime==4.9.3
+ anyio==4.8.0
+ attrs==25.1.0
+ bidict==0.23.1
+ bitsandbytes==0.45.0
+ blake3==1.0.4
+ certifi==2022.12.7
+ cffi==1.17.1
+ charset-normalizer==2.1.1
+ click==8.1.8
+ clip-anytorch==2.6.0
+ colorama==0.4.6
+ coloredlogs==15.0.1
+ compel==2.0.2
+ contourpy==1.3.1
+ controlnet-aux==0.0.7
+ cycler==0.12.1
+ datasets==2.19.1
+ deprecated==1.2.17
+ diffusers==0.31.0
+ dill==0.3.8
+ dnspython==2.7.0
+ dynamicprompts==0.31.0
+ einops==0.8.0
+ email-validator==2.2.0
+ eval-type-backport==0.2.2
+ facexlib==0.3.0
+ fastapi==0.111.0
+ fastapi-cli==0.0.5
+ fastapi-events==0.11.1
+ filelock==3.13.1
+ filterpy==1.4.5
+ flatbuffers==25.1.24
+ fonttools==4.55.6
+ frozenlist==1.5.0
+ fsspec==2024.2.0
+ ftfy==6.3.1
+ future==1.0.0
+ gguf==0.10.0
+ grpcio==1.70.0
+ h11==0.14.0
+ httpcore==1.0.7
+ httptools==0.6.4
+ httpx==0.28.1
+ huggingface-hub==0.26.1
+ humanfriendly==10.0
+ idna==3.4
+ imageio==2.37.0
+ importlib-metadata==8.6.1
+ invisible-watermark==0.2.0
+ invokeai==5.6.0
+ jax==0.5.0
+ jaxlib==0.5.0
+ jinja2==3.1.3
+ kiwisolver==1.4.8
+ lazy-loader==0.4
+ lightning-utilities==0.11.8
+ llvmlite==0.44.0
+ markdown==3.7
+ markdown-it-py==3.0.0
+ markupsafe==2.1.5
+ matplotlib==3.10.0
+ mdurl==0.1.2
+ mediapipe==0.10.14
+ ml-dtypes==0.5.1
+ mpmath==1.3.0
+ multidict==6.1.0
+ multiprocess==0.70.16
+ networkx==3.2.1
+ npyscreen==4.10.5
+ numba==0.61.0
+ numpy==1.26.3
+ omegaconf==2.3.0
+ onnx==1.16.1
+ onnxruntime==1.19.2
+ opencv-contrib-python==4.11.0.86
+ opencv-python==4.9.0.80
+ opencv-python-headless==4.11.0.86
+ opt-einsum==3.4.0
+ orjson==3.10.15
+ packaging==24.1
+ pandas==2.2.3
+ picklescan==0.0.18
+ pillow==10.2.0
+ prompt-toolkit==3.0.50
+ propcache==0.2.1
+ protobuf==4.25.6
+ psutil==6.1.1
+ pyarrow==19.0.0
+ pyarrow-hotfix==0.6
+ pycparser==2.22
+ pydantic==2.7.2
+ pydantic-core==2.18.3
+ pydantic-settings==2.2.1
+ pygments==2.19.1
+ pympler==1.1
+ pyparsing==3.2.1
+ pypatchmatch==1.0.1
+ pyperclip==1.9.0
+ pyreadline3==3.5.4
+ python-dateutil==2.9.0.post0
+ python-dotenv==1.0.1
+ python-engineio==4.11.2
+ python-multipart==0.0.20
+ python-socketio==5.11.1
+ pytorch-lightning==2.1.3
+ pytz==2024.2
+ pywavelets==1.8.0
+ pywin32==308
+ pyyaml==6.0.2
+ regex==2024.11.6
+ requests==2.28.1
+ rich==13.9.4
+ safetensors==0.4.3
+ scikit-image==0.25.1
+ scipy==1.15.1
+ semver==3.0.4
+ sentencepiece==0.2.0
+ setuptools==70.0.0
+ shellingham==1.5.4
+ simple-websocket==1.1.0
+ simsimd==6.2.1
+ six==1.17.0
+ sniffio==1.3.1
+ sounddevice==0.5.1
+ spandrel==0.3.4
+ starlette==0.37.2
+ stringzilla==3.11.3
+ sympy==1.13.1
+ tensorboard==2.18.0
+ tensorboard-data-server==0.7.2
+ test-tube==0.7.5
+ tifffile==2025.1.10
+ timm==0.6.13
+ tokenizers==0.20.3
+ torch==2.4.1+cu124
+ torchmetrics==1.0.3
+ torchsde==0.2.6
+ torchvision==0.19.1+cu124
+ tqdm==4.66.5
+ trampoline==0.1.2
+ transformers==4.46.3
+ typer==0.15.1
+ typing-extensions==4.9.0
+ tzdata==2025.1
+ ujson==5.10.0
+ urllib3==1.26.13
+ uvicorn==0.28.0
+ watchfiles==1.0.4
+ wcwidth==0.2.13
+ websockets==14.2
+ werkzeug==3.1.3
+ windows-curses==2.4.1
+ wrapt==1.17.2
+ wsproto==1.2.0
+ xxhash==3.5.0
+ yarl==1.18.3
+ zipp==3.21.0
Installation completed successfully!
Click finish, click launch. Program works fine. Once I click shutdown and exit the program.
This cycle repeats itself next launch
I must run it as admin otherwise I get error
error: Failed to install: opencv_python-4.9.0.80-cp37-abi3-win_amd64.whl (opencv-python==4.9.0.80)
Caused by: failed to rename file from C:\Users\username\Invoke.venv\Lib\site-packages.tmpAgNS6g_init_.pyi to C:\Users\username\Invoke.venv\Lib\site-packages\cv2\ocl_init_.pyi: Access is denied. (os error 5)
Failed to install invokeai python package: Process exited with code 2
But I can still launch the program after anyway
What you expected to happen
The program to simply open
How to reproduce the problem
On my system simply open the program
Additional context
Fresh install 1/21/2025 4:49:57 PM
Microsoft Windows 11 Professional (x64) Build 26100.2894 (24H2)
RTX 4070 AERO OC 12G (GV-N4070AERO OC-12GD)
MAG B760M MORTAR WIFI (MS-7E01) (U3E1) BIOS date 09/11/2023 M.50
x2 32GB Teamgroup TEAMGROUP Inc. DDR5-4800 (2400 MHz) Part Number UD5-6000
Intel Core i9-13900K
Samsung SSD 990 PRO 2TB (SSD)
NVIDIA-SMI 571.96
Driver Version: 571.96
CUDA Version: 12.8
Cuda compiler driver
Built on Wed_Jan_15_19:38:46_Pacific_Standard_Time_2025
Cuda compilation tools, release 12.8, V12.8.61
Build cuda_12.8.r12.8/compiler.35404655_0
Python 3.10.9
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\username\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=DESKTOP-SNP00KG
ComSpec=C:\WINDOWS\system32\cmd.exe
CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8
CUDA_PATH_V12_8=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8
DriverData=C:\Windows\System32\Drivers\DriverData
EFC_9432=1
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\username
JD2_HOME=C:\Users\username\AppData\Local\JDownloader 2.0
LOCALAPPDATA=C:\Users\username\AppData\Local
LOGONSERVER=\\DESKTOP-SNP00KG
NUMBER_OF_PROCESSORS=32
OneDrive=C:\Users\username\OneDrive
OS=Windows_NT
Path=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\libnvvp;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\NVIDIA Corporation\Nsight Compute 2025.1.0\;C:\Program Files\NVIDIA Corporation\NVIDIA app\NvDLISR;C:\Users\username\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\username\AppData\Local\Programs\Python\Python310\;C:\Users\username\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=b701
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\username\AppData\Local\Temp
TMP=C:\Users\username\AppData\Local\Temp
USERDOMAIN=DESKTOP-SNP00KG
USERDOMAIN_ROAMINGPROFILE=DESKTOP-SNP00KG
USERNAME=username
USERPROFILE=C:\Users\username
windir=C:\WINDOWS
Discord username
No response