Created
January 30, 2023 17:16
-
-
Save mozziemozz/7ee3b6c39db233c446e2a805ef3ffdc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get Version | |
$checkPythonVersion = py -3 --version | |
if (!$checkPythonVersion) { | |
Write-Warning "Python was not found on your system. Please install it." | |
exit | |
} | |
else { | |
Write-Host "Installed Python Version: $checkPythonVersion" -ForegroundColor Green | |
} | |
# Create virtual environment | |
py -3 -m venv .venv | |
.venv\scripts\activate | |
# Update Python | |
python.exe -m pip install --upgrade pip | |
# Install Azure Cognitive Services | |
pip install azure-cognitiveservices-speech |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment