Commit 4a17d181 authored by Elliando Dias's avatar Elliando Dias
Browse files

Merge pull request #7 from Iristyle/patch-2

PYTHONHOME must be set in running script
parents 68c297e6 a36d0f33
......@@ -117,6 +117,7 @@ function setup-python() {
Write-Host "Setting PYTHONHOME environment variable to '$python_home'"
Write-Host "PS: PYTHONHOME variable is not required to Python works, but it is a good practice to have it."
[Environment]::SetEnvironmentVariable('PYTHONHOME', $python_home, 'User')
$Env:PYTHONHOME = $python_home
return $python_home
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment