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

[bug]: GIT installer.sh.in and python 3.12 #7194

Closed
1 task done
leder11011 opened this issue Oct 25, 2024 · 3 comments
Closed
1 task done

[bug]: GIT installer.sh.in and python 3.12 #7194

leder11011 opened this issue Oct 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@leder11011
Copy link

leder11011 commented Oct 25, 2024

Is there an existing issue for this problem?

#6539

  • I have searched the existing issues

Operating system

Linux

GPU vendor

Nvidia (CUDA)

GPU model

RTX 4090

GPU VRAM

24GB

Version number

c100814

Browser

chrome, FF, vivaldi

Python dependencies

No response

What happened

Hello all,

thank you for InvokeAI!

The readme states that python version should be >= 3.10

But python 3.12 gives an error with onnx-cuda, xformers:

ERROR: Could not find a version that satisfies the requirement invokeai[onnx-cuda,xformers] (from versions: none)
ERROR: No matching distribution found for invokeai[onnx-cuda,xformers]
Error: Unexpected exit code: 1
Command line: | /home/leder/invokeai/.venv/bin/pip install --require-virtualenv --force-reinstall --use-pep517 'invokeai[xformers,onnx-cuda]'
Could not install InvokeAI. Please try downloading the latest version of the installer and install again.

What you expected to happen

I expect invokeai to install properly

How to reproduce the problem

./installer.sh.in
latest stable version
NVidia support

Additional context

I read about the installer switch --skip-xformers, but it is unknown to the installer!

Discord username

leder11011

@leder11011 leder11011 added the bug Something isn't working label Oct 25, 2024
@ebr
Copy link
Member

ebr commented Oct 25, 2024

Don't run that script directly from the repo.
Download installer from the latest release, unzip, and run.
Also, we don't support python 3.12 yet. (Soon). You need 3.11 for now. pyenv is a good way of getting that sorted.

@leder11011
Copy link
Author

Thanks for the heads up!
pyenv is mixing 3.12 and 3.11 up for me...
Please take care!

@ebr
Copy link
Member

ebr commented Oct 25, 2024

I usually just do pyenv shell 3.11 before running anything that requires 3.11. works quite well on Ubuntu 24.04.
We aim to support 3.12 as soon as all the dependencies catch up and we've had a chance to test it.
Going to close this issue for now. Take care as well.

@ebr ebr closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants