【发布时间】:2020-01-08 04:53:02
【问题描述】:
这是我遇到的错误
Set-Location : A positional parameter cannot be found that accepts argument 's'.
At line:1 char:1
+ cd 'c:\Users\Sean's awesome\Documents\Python Projects\Test Prject'; $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
【问题讨论】:
-
通过查看 VS Code 的语法高亮应该可以清楚地看到问题。