fix
parent
f7af1642c6
commit
daff1715ab
|
|
@ -7,6 +7,8 @@ if (Test-Path -Path "venv\Scripts\activate") {
|
||||||
}
|
}
|
||||||
elseif (Test-Path -Path "python\python.exe") {
|
elseif (Test-Path -Path "python\python.exe") {
|
||||||
Write-Host -ForegroundColor green "Using python from python folder..."
|
Write-Host -ForegroundColor green "Using python from python folder..."
|
||||||
|
$py_path = (Get-Item "python").FullName
|
||||||
|
$env:PATH = "$py_path;$env:PATH"
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Write-Host -ForegroundColor Blue "No virtual environment found, using system python..."
|
Write-Host -ForegroundColor Blue "No virtual environment found, using system python..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue