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
PowerShell Start-Process fails with "positional parameter cannot be found" when installing to path which includes white space.
The user path in my windows VM is C:\Users\John Smith\
When I try to install python, using any combination of options (any available versions, Standard vs. MiniForge, etc.) with this user login, the installation fails with the following error message:
Error while installing Python!
Error message:
Start-Process : A positional parameter cannot be found that accepts argument
'Smith\AppData\Local\ansys_python_installer\ansys_python_installer\Cache\python-3.11.3-amd64.exe'.
At line:1 char:2
🔍 Before submitting the issue
🐞 Description of the bug
PowerShell Start-Process fails with "positional parameter cannot be found" when installing to path which includes white space.
The user path in my windows VM is C:\Users\John Smith\
When I try to install python, using any combination of options (any available versions, Standard vs. MiniForge, etc.) with this user login, the installation fails with the following error message:
Error while installing Python!
Error message:
Start-Process : A positional parameter cannot be found that accepts argument
'Smith\AppData\Local\ansys_python_installer\ansys_python_installer\Cache\python-3.11.3-amd64.exe'.
At line:1 char:2
OK
My guess is that this path needs double quotation marks.
📝 Steps to reproduce
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
23R2
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: