m1guelpf / yt-whisper

Using OpenAI's Whisper to automatically generate YouTube subtitles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not find a version that satisfies the requirement whisper

HillCat opened this issue · comments

WARNING: Generating metadata for package whisper produced metadata for project name openai-whisper. Fix your #egg=whisper fragments.
Discarding git+https://github.com/openai/whisper.git@main#egg=whisper: Requested openai-whisper from git+https://github.com/openai/whisper.git@main#egg=whisper (from yt-whisper==1.0) has inconsistent name: expected 'whisper', but metadata has 'openai-whisper'
Collecting yt-dlp
Using cached yt_dlp-2023.1.6-py2.py3-none-any.whl (2.8 MB)
ERROR: Could not find a version that satisfies the requirement whisper (unavailable) (from yt-whisper) (from versions: 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.13, 0.9.14, 0.9.15, 0.9.16, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10)
ERROR: No matching distribution found for whisper (unavailable)

WindowsTerminal_l5i7KcfQlJ
Could you please update the python script on you github repository? Thanks. I try on windows 10 and Ubuntu, is the same issue.

Hey dude! I'm having the same problem. If You find any solution, please let me know.

I am also having the same problem.

image

I have the same issue!
image

Getting the same error , any updates @HillCat @archz2 @ItsZeeyah @MotionGaming @naresharelli ?

@Hemangpandey #38 should fix this

@naresharelli , what exactly is the process to fix this issue? I am still getting the same error.

@archz2

The PR is not merged yet. Meanwhile you can try installing it from PR directly with this, till its merged into main

pip install git+https://github.com/m1guelpf/yt-whisper.git@refs/pull/38/head

@archz2

The PR is not merged yet. Meanwhile you can try installing it from PR directly with this, till its merged into main

pip install git+https://github.com/m1guelpf/yt-whisper.git@refs/pull/38/head

Running this code gives an error.

image

@MotionGaming

I see that Whisper is supported only up to Python 3.10 as of now. Try with that.

I was able to install yt_whisper with a different version of Python (currently on 3.8.0) but it returns an error when I try to run a command.
image

Its working for me with Anaconda3/Python 3.9.13, not sure of any known issues with 3.8.x though.

I tried installing 3.9.13 and running it again. It returns the same error.
image

Try pip uninstall and install again with Python 3.9 version.
I see whisper dropped support for versions <3.8 and >3.10 in latest commits. So, fresh install should work with 3.9

@archz2

The PR is not merged yet. Meanwhile you can try installing it from PR directly with this, till its merged into main

pip install git+https://github.com/m1guelpf/yt-whisper.git@refs/pull/38/head

I am using python 3.10.8 on conda and your solution works

@archz2

The PR is not merged yet. Meanwhile you can try installing it from PR directly with this, till its merged into main

pip install git+https://github.com/m1guelpf/yt-whisper.git@refs/pull/38/head

I can confirm this works. Please merge in! 😄

This also works by forcing updating the package with latest version of the repository:

pip install --upgrade --no-deps --force-reinstall git+https://github.com/m1guelpf/yt-whisper.git

This also works by forcing updating the package with latest version of the repository:

pip install --upgrade --no-deps --force-reinstall git+https://github.com/m1guelpf/yt-whisper.git

Thank you!

Just to consolidate the above comments and help the next person trying to do this, I did the following as new install on my mac:

pip install git+https://github.com/m1guelpf/yt-whisper.git@refs/pull/38/head
pip install --upgrade --no-deps --force-reinstall git+https://github.com/m1guelpf/yt-whisper.git