-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]: Failed to bytecode-compile Python file #7686
Comments
It looks like the root problem is a permissions issue at the install folder:
May need to adjust the permissions on the install folder. Don't run the launcher as admin though, that will only make it worse. |
How can I fix the perms? I'm on windows |
I believe you would right-click the install directory -> properties -> security and ensure your normal user account has full access. But, it's strange that you wouldn't have access by default, unless you are attempting to install to a protected folder (e.g. Program Files). What's the install path? |
It's a folder I made on my second drive where I store all my AI things, I selected Invoke to install in its own separate folder there so I don't understand why it's happening... I will check later if something messed up the perms |
Tried again it didn't work |
As a test, can you please try making a new folder at the root of the second drive and installing there? |
I had the same error message during install. I am the administrator account on this computer. What exactly does this mean? My install path was: I tried copying the Invoke AI folder to the root: E:\Invoke AI and using the installation tool to run a repair install at that location. Same result. |
I tried and got this
Wait I just noticed why is it activating vent at a different location than the install |
Tried deleting venv and trying again it did not work |
Is there an existing issue for this problem?
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
RTX 4080
GPU VRAM
16GB
Version number
5.6.2
Browser
Doesn't matter rn
Python dependencies
No response
What happened
Im tried to install invokeAI for the first time and i tried both the stable and prerelease versions and both of them give me the same error
What you expected to happen
I expected it to install normally
How to reproduce the problem
Just install it on a non system drive and it supposed to happen? idk
Additional context
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance. If the cache and target directories are on different filesystems, hardlinking may not be supported. If this is intentional, set
export UV_LINK_MODE=copyor use
--link-mode=copyto suppress this warning. Installed 167 packages in 3m 25s error: Failed to bytecode-compile Python file in: .venv\Lib\site-packages Caused by: Failed to start Python interpreter to run compile script Caused by: Access is denied. (os error 5) Failed to install invokeai python package: Process exited with code 2
Discord username
No response
The text was updated successfully, but these errors were encountered: