firebase / quickstart-unity

Firebase Quickstart Samples for Unity
https://firebase.google.com/games
Apache License 2.0
819 stars 424 forks source link

Win Editor: Could not find a working python interpreter #1289

Closed Incont closed 2 years ago

Incont commented 2 years ago

[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:

[REQUIRED] Please describe the issue here:

I have error on every compiling: "Could not find a working python interpreter. Please make sure one of the following is in your PATH: python3 python3.8 python3.7 python2.7 python2 python"

Steps to reproduce:

Update any cs script.

I saw sources. Firebase App don't use python interpritater on windows platform. Firebase App use binaries: generate_xml_from_google_services_json.exe network_request.exe Please remove this error message for windows platform.

AlmostMatt commented 2 years ago

It looks like you are correct - an exe should be used instead of python on windows, but it seems that the current logic is such that it is performing the check to find python even though it is not required.

As a temporary workaround until this is fixed, you can either install python locally, or try an older version of the SDK (8.8.1 or older, I think)

AlmostMatt commented 2 years ago

Actually, in terms of workarounds, are you able to just ignore the error, or is it actually causing build failures?

Incont commented 2 years ago

This error message don't affect building. But we have many team members who panic when see any errors.