Skip to content

module 'whisper' has no attribute 'load_model' #143

Answered by jongwook
feitgemel asked this question in Q&A
Discussion options

You must be logged in to vote

It seems possible that your IDE is configured for a different Python installation/environment from what was used in the command line, and it somehow installed the unrelated whisper package from PyPI. You can confirm this by:

import whisper
print(whisper.__file__)

If the printed path ends with whisper.py, you're using the wrong package; please reinstall the package by running:

pip uninstall whisper
pip install git+https://github.com/openai/whisper.git 

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@oncebeloved
Comment options

@Jackson214
Comment options

@bsgxiaobi
Comment options

@a2nath
Comment options

@pedro380085
Comment options

Answer selected by jongwook
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants