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

Could not find a version that satisfies the requirement whisper #37

Open
HillCat opened this issue Jan 18, 2023 · 19 comments
Open

Could not find a version that satisfies the requirement whisper #37

HillCat opened this issue Jan 18, 2023 · 19 comments

Comments

@HillCat
Copy link

HillCat commented Jan 18, 2023

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)

@HillCat
Copy link
Author

HillCat commented Jan 18, 2023

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.

@ItsZeeyah
Copy link

ItsZeeyah commented Jan 21, 2023

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

@archz2
Copy link

archz2 commented Jan 21, 2023

I am also having the same problem.

image

@MotionGaming
Copy link

I have the same issue!
image

@Hemangpandey
Copy link

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

@naresharelli
Copy link
Contributor

@Hemangpandey #38 should fix this

@archz2
Copy link

archz2 commented Jan 25, 2023

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

@naresharelli
Copy link
Contributor

@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

@MotionGaming
Copy link

MotionGaming commented Jan 25, 2023

@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

@naresharelli
Copy link
Contributor

@MotionGaming

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

@MotionGaming
Copy link

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

@naresharelli
Copy link
Contributor

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

@MotionGaming
Copy link

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

@naresharelli
Copy link
Contributor

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

@geocine
Copy link

geocine commented Feb 1, 2023

@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

@markshust
Copy link

@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! 😄

@bayramn
Copy link

bayramn commented Mar 16, 2023

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

@couchpotatochip21
Copy link

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!

@sirneb
Copy link

sirneb commented Dec 31, 2023

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

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