如何安装 ursina?

How to install ursina?

我去 powershell 并说 pip install ursina,但唯一出现的是 pip : 术语 'pip' 未被识别为 cmdlet、函数、脚本文件或可运行程序的名称.检查 名称的拼写,或者如果包含路径,请验证路径是否正确,然后重试。 在 line:1 char:1

我该怎么办

您是否将 python 目录添加到 %PATH%?添加它并再次尝试 pip install ursina。这应该有所帮助。

另见'pip' is not recognized

我怀疑两件事之一

  • 您的计算机中未安装 pip(通常它随 python 的默认安装一起安装)

  • 你还没有在 PATH

    下添加 pip 作为 windows 环境变量

I would suggest re-installing python and then making sure that you have ticked the add to path option in the installation window

or type sysdm.cpl in the powershell window, this will open another window, in that window go to the advanced tab and select change environmental variables . Add the directory where you installed python under the PATH tab.