PR: Fix issue where powershell is not found by Spyder on initial launch from installer#25985
PR: Fix issue where powershell is not found by Spyder on initial launch from installer#25985mrclary wants to merge 3 commits into
powershell is not found by Spyder on initial launch from installer#25985Conversation
powershell is not found by Spyder on initial launch from installerpowershell is not found by Spyder on initial launch from installer
|
@dalthviz, please check if the installers generated in this PR fix the problem you found. |
Excellent.
Thanks for checking @dalthviz, I'll look into this. Likely a simple mistake on my part. |
Hmm... I'm unable to reproduce on my Window machine. After Spyder auto-launched from the installer, I checked for updates and the Are those files present for you @dalthviz? Is there a directory |
That was a result of setting
Okay, at least we now know that it is unrelated to the nested spyder directories and that the log files are not created for some reason. The only other thing I can think to try is, before checking for updates, put some other diagnostic in |
Tried that and seems to me that the only variable that stands out is that there is a |
|
The |
…uctor removes it.
…cept the modification to PATH
50ecbeb to
a18ec21
Compare
|
Gave this another try but now using a clean Windows 10 VM and the updated worked. I was still able to reproduce the error in my Windows 10 machine but while checking again noticed that I had a project open (spyder repo itself) when Spyder was autolaunched. After closing the project I was able to update without isssue 🎉 |


Add
C:\Windows\System32\WindowsPowerShell\v1.0toPATHbecause constructor removes it.Also fix issue where Spyder's temp directory was incorrect when launched by installer.
Fixes #25915