Update trader_req_win.ps1

more
This commit is contained in:
alexpolo1
2023-11-20 08:33:52 +01:00
committed by GitHub
parent 9b3f6f7610
commit 9054f23555

View File

@@ -1,4 +1,4 @@
# PowerShell script to install Python and required modules # PowerShell script to install Python and required modules for automation
# Check if Python is already installed # Check if Python is already installed
$pythonInstalled = $False $pythonInstalled = $False
@@ -32,7 +32,7 @@ catch {
} }
# Install required Python packages # Install required Python packages
$requiredModules = @("requests", "Pillow", "pyautogui") $requiredModules = @("requests", "Pillow", "pyautogui", "keyboard")
foreach ($module in $requiredModules) { foreach ($module in $requiredModules) {
pip install $module pip install $module
Write-Host "$module installed successfully." Write-Host "$module installed successfully."