speech to text python problem

I am currently trying to install and configure the Vosk Speech-to-Text library with the Polish language model. However, I am encountering an error while attempting to create a Python virtual environment.

The system displays the following error message:

“Nie można utworzyć wirtualnego środowiska Pythona: nie znaleziono Python; uruchom bez argumentów, aby zainstalować” (Translation: “Could not create Python virtual environment: Python not found; run without arguments to install”)

It appears that Python is either not installed on this system or its executable path has not been added to the system’s environment variables (PATH).

Could you please provide guidance on the correct steps to resolve this environment issue for the Vosk library, or let me know which Python version is recommended for a stable setup?

Thank you in advance for your assistance.

Hey! It’s most likely that you do not have the right python version installed. I’d just recommend python3 or whatever is recommended by the creators/maintainers off VOSK. Also, as the error message said, run the command without any arguments, it will automatically install python for you i believe.
Just to clarify, can you run python -V to check if python is present on the system? If it does output (for example. Python 3.14.6 , you can do which python3, then add the path to the virtual environment configuration. If it doesn’t output, i recommend just installing the newest version of python. It should get autodetected.
EDIT: Python 3 is in the vosk installation tutorial so that’s what you should use