Skip to content
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

fix: manually specify venv when installing invokeai pkg #61

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

psychedelicious
Copy link
Collaborator

This fixes an issue @shanedk had, where uv failed to find the virtual environment for the Invoke install.

I had made a custom builder for them, but not yet merged this fix into main.

@psychedelicious psychedelicious merged commit 9cdd8a7 into main Apr 2, 2025
5 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/specify-venv-path branch April 2, 2025 21:06
@shanedk
Copy link

shanedk commented Apr 8, 2025

Sorry, but it looks like this hasn't been fixed after all.

UPDATE: I was able to get it working with Repair mode.

Installation parameters:
- Install location: W:\AI\InvokeAI
- GPU type: nvidia>=30xx
- Torch Platform: cuda
Virtual environment already exists, skipping...
Installing invokeai package...
> C:\Users\shane\AppData\Local\Temp\2vFxKvvFbjMAsUlvZ94N07dukNe\resources\bin\uv.exe pip install --python 3.12 --python-preference only-managed invokeai==v5.10.0a1 --force-reinstall --compile-bytecode --index=https://download.pytorch.org/whl/cu126
error: Failed to inspect Python interpreter from virtual environment at `Scripts\python.exe`
  Caused by: Python interpreter not found at `W:\AI\InvokeAI\Scripts\python.exe`
Failed to install invokeai python package: Process exited with code 2
Try installing again with Repair mode enabled to fix this.
Ask for help on Discord or GitHub if you continue to have issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants