You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: I've had to modify all my run.ps1 files in my algos so that instead of saying py -3 $algoPath they say python $algoPath. This is because powershell runs python as python and not py -3. I installed it using powershell (although I have anaconda set up elsewhere), without modifying anything.
If this is reproducable (or at least, switching to python it continues to work) then it might be worth updating the run.ps1 files.
Expected Result:py -3 starts python as expected. Actual Result: Error crashes the program.
py : The term 'py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ py -3
+ ~~
+ CategoryInfo : ObjectNotFound: (py:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggested Solution: switch py -3 to python no other changes necessary.
Steps to reproduce: As described above. Easiest test is attempt to run py -3 in powershell. Then run python.
Description: I've had to modify all my
run.ps1
files in my algos so that instead of sayingpy -3 $algoPath
they saypython $algoPath
. This is because powershell runs python as python and not py -3. I installed it using powershell (although I have anaconda set up elsewhere), without modifying anything.If this is reproducable (or at least, switching to
python
it continues to work) then it might be worth updating therun.ps1
files.Expected Result:
py -3
starts python as expected.Actual Result: Error crashes the program.
Suggested Solution: switch
py -3
topython
no other changes necessary.Steps to reproduce: As described above. Easiest test is attempt to run
py -3
in powershell. Then runpython
.OS: Windows 10
run.ps1.txt
The text was updated successfully, but these errors were encountered: