安装 python switch-model 包后执行基本命令时出错

问题描述 投票:0回答:1

我正在尝试安装 switch-model 2.0,以便我可以使用它:

https://switch-model.org/

我尝试使用 conda 和 pip 安装它,这似乎成功了。但是,当我尝试在 Anaconda Prompt 中运行基本命令时,我收到“意外令牌”类型错误(如附图所示)。 谁能帮我找出我做错了什么?

谢谢!

pic of command and error code

python-3.x installation conda
1个回答
0
投票

我给 Matthias Fripp(开关模型背后的人)发了电子邮件。他告诉我,anaconda 提示符中有一个内置命令,称为“switch”。这就是我的错误的来源。因此,我所要做的就是将命令从“switch --version”更改为“switch.exe --version”,然后我就开始工作了。

感谢 Fripp 先生的帮助,如果您需要帮助开始使用开关模型,请查看这个谷歌小组:

https://groups.google.com/g/switch-model

© www.soinside.com 2019 - 2024. All rights reserved.