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

please help me!ERROR #42

Open
yongqi78 opened this issue Feb 9, 2023 · 4 comments
Open

please help me!ERROR #42

yongqi78 opened this issue Feb 9, 2023 · 4 comments

Comments

@yongqi78
Copy link

yongqi78 commented Feb 9, 2023

PS F:\yongqi\project> pip install git+https://github.com/m1guelpf/yt-whisper.git
Looking in indexes: http://pypi.douban.com/simple
Collecting git+https://github.com/m1guelpf/yt-whisper.git
Cloning https://github.com/m1guelpf/yt-whisper.git to c:\users\anbaobu\appdata\local\temp\pip-req-build-gh43evvc
Running command git clone --filter=blob:none --quiet https://github.com/m1guelpf/yt-whisper.git 'C:\Users\anbaobu\AppData\Local\Temp\pip-req-build-gh43evvc'
Resolved https://github.com/m1guelpf/yt-whisper.git to commit 0190e7e
Preparing metadata (setup.py) ... done
Collecting whisper@ git+https://github.com/openai/whisper.git@main#egg=whisper
Cloning https://github.com/openai/whisper.git (to revision main) to c:\users\anbaobu\appdata\local\temp\pip-install-oww449jx\whisper_ce653dcda98444e1baac0baa96e7d960
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\anbaobu\AppData\Local\Temp\pip-install-oww449jx\whisper_ce653dcda98444e1baac0baa96e7d960'
Resolved https://github.com/openai/whisper.git to commit 7858aa9c08d98f75575035ecd6481f462d66ca27
Preparing metadata (setup.py) ... done
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'
Requirement already satisfied: yt-dlp in c:\python311\lib\site-packages (from yt-whisper==1.0) (2023.1.6)
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)

@erkkimon
Copy link

Problem confirmed, the same happens to me as well.

@kurechon
Copy link

This issue is resolved by pull request #38. To install based on this pull request, do the following:

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

@CitronCZ
Copy link

Still dont work:
pip install git+https://github.com/m1guelpf/yt-whisper.git
Collecting git+https://github.com/m1guelpf/yt-whisper.git
Cloning https://github.com/m1guelpf/yt-whisper.git to c:\users\jiri\appdata\local\temp\pip-req-build-5oa46jwn
Running command git clone --filter=blob:none --quiet https://github.com/m1guelpf/yt-whisper.git 'C:\Users\Jiri\AppData\Local\Temp\pip-req-build-5oa46jwn'
Resolved https://github.com/m1guelpf/yt-whisper.git to commit 0190e7e
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting whisper@ git+https://github.com/openai/whisper.git@main#egg=whisper (from yt-whisper==1.0)
Cloning https://github.com/openai/whisper.git (to revision main) to c:\users\jiri\appdata\local\temp\pip-install-30_32irc\whisper_89bd550a566247f6910de27969c78591
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\Jiri\AppData\Local\Temp\pip-install-30_32irc\whisper_89bd550a566247f6910de27969c78591'
Resolved https://github.com/openai/whisper.git to commit 1cea4357687b676b293cb5473e1ade25f5b1cef7
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
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'
Requirement already satisfied: yt-dlp in d:\hry\python\lib\site-packages (from yt-whisper==1.0) (2023.11.16)
INFO: pip is looking at multiple versions of yt-whisper to determine which version is compatible with other requirements. This could take a while.
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)

@cloverasx
Copy link

This worked for me, albeit this is nearly a year later. I also installed whisper via pip install whisper prior to this in an attempt to resolve missing dependencies. Maybe try that first if anyone else comes across this problem.

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

5 participants