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

webui.bat/install fails with Python 3.11 #56

Open
PreownedFIN opened this issue Sep 13, 2023 · 0 comments
Open

webui.bat/install fails with Python 3.11 #56

PreownedFIN opened this issue Sep 13, 2023 · 0 comments

Comments

@PreownedFIN
Copy link

Problem:

There are no available .whl packages for torch 1.12.1+cu113 for Python 3.11, as the latest ones are for 3.10 a the latest.
This causes errors during install if you have Python 3.11 as the default Python interpreter when webui.bat creates the venv for this project.

Fix:

Make sure your Python version is (as of writing) 3.7, 3.8, 3.9, or 3.10, and this is what the venv is refering to.

How I fixed my install:

In the whisper-auto-transcribe folder:
I deleted the venv created by webui.bat to remove the reference to the 3.11 install of Python.
(Here you would find and install python 3.10 and use its install location instead of this one, I already had my old install in my Program Files tho'.)
Recreate the venv:
PS F:\whisper-auto-transcribe> & "C:\Program Files\Python310\python.exe" -m venv venv
Now the venv is using Python 3.10, and the webui.bat runs as intended.

This is especially tricky for new users, as no official installers/binaries exist for older Python versions (including 3.10), where the current README points users to.
There are some good samaritans building them (Google can help you finding them), but I'm not sure if it is good to just link to one here, so no PR from me.
Then there is the build-your-own-Python-way, but if you can manage that, the missing .whls for torch wouldn't really be a problem for you.

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

No branches or pull requests

1 participant