Make sure you are not in a venv, as by default it does not inherit the system env variables that you probably have set.
So, try installing it system-wide, or try adding the env variables definitions to the venv's Script file.