[英]Could not find a working python interpreter. Unity, Firebase
Could not find a working python interpreter.找不到工作的 python 解释器。 Please make sure one of the following is in your PATH: python python3 python3.8 python3.7 python2.7 python2
请确保您的 PATH 中包含以下内容之一: python python3 python3.8 python3.7 python2.7 python2
I installed python 3.10.4 Path is set in environment variables.我安装了 python 3.10.4 路径在环境变量中设置。 Still not working.
还是行不通。
How to set path:如何设置路径:
To use the System Variables option, follow the steps highlighted above to copy the Python path and its script.要使用系统变量选项,请按照上面突出显示的步骤复制 Python 路径及其脚本。 Then go back to environment variables.
然后 go 回到环境变量。 Then, in the system variables segment, look for a variable named Path.
然后,在系统变量段中,查找名为 Path 的变量。 Click this variable and click Edit.
单击此变量,然后单击编辑。
It is working now.它现在正在工作。 We have to set paths in both user variables and system variables.
我们必须在用户变量和系统变量中设置路径。 Then restart the PC.
然后重启电脑。
If you have already set the path and can see only python and/or python 3 in the destination folder: Type "python" in cmd.如果您已经设置了路径并且在目标文件夹中只能看到 python 和/或 python 3: 在 cmd 中键入“python”。 It will automatically take you to Windows Store, Install python 3.8 from there.
它会自动将您带到 Windows 商店,从那里安装 python 3.8。 Or you can externally install python 3.8 for latest Firebase plugin.
或者您可以在外部安装 python 3.8 以获得最新的 Firebase 插件。 This removes the error.
这消除了错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.