can't import whisper to python #1272
-
I AM ON WINDOWS 10 I am trying to add the whisper to my 3.10.10 python script and when I try to import it it does not find it saying Import "whisper" could not be resolved I installed it using pip install git+https://github.com/openai/whisper.git and then update it using pip install --upgrade --no-deps --force-reinstall git+https://github.com/openai/whisper.git I also added it in the environment variables PATH of windows 10. the one in APPDATA and it still can not import it I am using visual studio code btw |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I think your visual studio code is configured to use a different python runtime from where your pip installs the package. In your terminal, |
Beta Was this translation helpful? Give feedback.
-
I have the same issue using debian, I can transcribe files using bash, but not python. What am I missing |
Beta Was this translation helpful? Give feedback.
-
get the text from the video |
Beta Was this translation helpful? Give feedback.
I think your visual studio code is configured to use a different python runtime from where your pip installs the package. In your terminal,
where python
andwhere pip
will show the path of the Python and pip installation. (Get-Command
instead ofwhere
if you happen to use Windows PowerShell) And then make sure VSCode to use the same python interpreter.