Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find a working python interpreter. Unity, Firebase

Could not find a working python interpreter. Please make sure one of the following is in your PATH: python python3 python3.8 python3.7 python2.7 python2

I installed python 3.10.4 Path is set in environment variables. Still not working.

like image 483
Prathvi Avatar asked Sep 29 '26 16:09

Prathvi


2 Answers

How to set path:

  1. Find the path to install Python on your computer. To do this, open the Windows search bar and type python.exe. Select the Open file location option.
  2. Copy path of python folder.
  3. To add Python To PATH In User Variables: Open My Computer\Properties\Advanced system settings\Advanced Environment Variables\Environment Variables.
  4. In the User Variables menu, find a variable named Path. Then paste the path you copied earlier into the Variable Value option using Ctrl+v and click OK.
  5. if you cannot find this variable, you may need to create it. To do this, click New. Then, in the variable name form, enter the path and paste your Python path into the variable value field. 6.You can also add Python to the PATH system variable. Although this is just an alternative and not needed if you have already added it to the Users variables.

To use the System Variables option, follow the steps highlighted above to copy the Python path and its script. Then go back to environment variables. Then, in the system variables segment, look for a variable named Path. Click this variable and click Edit.

enter image description here

enter image description here

like image 100
DaniMN Avatar answered Oct 02 '26 07:10

DaniMN


It is working now. We have to set paths in both user variables and system variables. Then restart the PC.

like image 35
Prathvi Avatar answered Oct 02 '26 06:10

Prathvi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!