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
16:15:24 INFO Installing 'PySide6' with pip taken from'h:\\cache\\skg\\cache\\python\\3.7.7\\5b53\\a\\python\\python.exe'
At C:\Users\Salva\AppData\Local\Temp\rez_context_d71nj_ag\rez-shell.ps1:4 char:60+"h:\cache\skg\cache\python\3.7.7\5b53\a\python\python.exe"-m pip ins ...
+ ~~
Unexpected token '-m'in expression or statement.
At C:\Users\Salva\AppData\Local\Temp\rez_context_d71nj_ag\rez-shell.ps1:4 char:63+ ... cache\skg\cache\python\3.7.7\5b53\a\python\python.exe" -m pip install ...+ ~~~Unexpected token 'pip' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnexpectedToken
Adding a . before the command itself fixes the issue as powershell is then aware that the string is to be executed as a command, same as with the sourcing of the context on the first line of both scripts.
The text was updated successfully, but these errors were encountered:
After 2.94.0 the
rez pip
command will result in an error on Windows when using powershell as the default shell.I used the following command to test it:
pip --install PySide6
. You can clearly see the why on therez-shell.ps1
script:2.93.0
2.94.0
Yielding the following error:
Adding a
.
before the command itself fixes the issue as powershell is then aware that the string is to be executed as a command, same as with the sourcing of the context on the first line of both scripts.The text was updated successfully, but these errors were encountered: