Error in Setting Rasa License Key Variable SOLVED

Following the steps to

in Powershell, running python 3.11.

Neither option works; both give me errors. $env: RASA_PRO_LICENSE=<your-license-string>

Variable reference is not valid. ‘:’ was not followed by a valid variable name character. Consider using ${} to delimit the name.

Both entering the command [System.Environment]::SetEnvironmentVariable('RASA_PRO_LICENSE','<your-license-string>','USER') with '<...>' and with just '....' do not work either.

not following Rasa’s setup, and trying to set the variable with: $RASA_PRO_LICENSE="..." does not work either.

When initializing rasa with the command rasa init --template tutorial, I receive the error 2025-03-04 16:53:44 [error ] license.not_found.error A Rasa Pro license is required. Please set the environmental variable RASA_PRO_LICENSE to a valid license string.

Following the steps in THIS comment solved my problem.