So I'm trying to install whisper from OpenAI and says I have version
3.11.2 so it can not install whisper which requires only versions
>=3.7,<3.11 But I swear when I check my python version it says I have the one I need, like this:
$ python --version Python 3.10.8
Btw Before I had version
3.11.2 but I changed it with help from this post
Maybe doing the commands from this post didn't help. I'm a total begginner so maybe there is a simple solution which I don't kow. Also I'm using kali linux.
Down here is the error I have:
pip install git+https://github.com/openai/whisper.git Defaulting to user installation because normal site-packages is not writeable Collecting git+https://github.com/openai/whisper.git Cloning https://github.com/openai/whisper.git to /tmp/pip-req-build-n6ajw2le Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /tmp/pip-req-build-n6ajw2le Resolved https://github.com/openai/whisper.git to commit ad3250a846fe7553a25064a2dc593e492dadf040 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting triton==2.0.0 Using cached triton-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (63.3 MB) Collecting numba Using cached numba-0.56.4.tar.gz (2.4 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-install-bvqf8ryy/numba_26a7eac980d84443948e159a452af5d2/setup.py", line 51, in <module> _guard_py_ver() File "/tmp/pip-install-bvqf8ryy/numba_26a7eac980d84443948e159a452af5d2/setup.py", line 48, in _guard_py_ver raise RuntimeError(msg.format(cur_py, min_py, max_py)) RuntimeError: Cannot install on Python version 3.11.2; only versions >=3.7,<3.11 are supported. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.