Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'func' is not recognized as an internal or external command, operable program or batch file [duplicate]

Keep getting the error

'func' is not recognized as an internal or external command, operable program or batch file.

Image of error

when entering func into the cmd command line, when following this tutorial
I have installed python (3.7.3) and all the correct extensions, so am confused as to why this issues is occuring.

Any help with this would be much appreciated.

like image 717
grand2019 Avatar asked Jun 10 '19 12:06

grand2019


People also ask

How do you fix is not recognized as an internal or external command operable program or batch file error?

You can resolve this issue in three ways: First, use the full path of the executable file to launch the program. Second, add the program path to Windows environment variables. Finally, move the files to the System32 folder.

How do I fix not recognized as an internal command?

The most efficient way to fix the “is not recognized as an internal command” error is to edit your environment variable and add the appropriate file path there. This is because the Command Prompt utility looks at those paths when you enter a command, and then opens the file if it finds it in one of those directories.

Which is not recognized as an internal or external command?

The “Python is not recognized as an internal or external command” error is encountered in the command prompt of Windows. The error is caused when Python's executable file is not found in an environment variable as a result of the Python command in the Windows command prompt.

How do I fix Python not recognized?

Specify the full location to python.exe One way to fix the error would be to launch Python from the Command Prompt by passing in the full path to the executable file each time you wanted to run Python. In other words, instead of typing Python you would type something like C:\Users\me\path\to\python.exe .


1 Answers

I had this issue and the provided answer didn't solve my problem.

Steps I took to fix (Windows):

  1. Install Chocolately
  2. Run choco install azure-functions-core-tools
  3. Finally run func: %%%%%% %%%%%% @ %%%%%% @ @@ %%%%%% @@ @@@ %%%%%%%%%%% @@@ @@ %%%%%%%%%% @@ @@ %%%% @@ @@ %%% @@ @@ %% @@ %% %

EDIT

While the above did solve my problem, the underlying issue was that func was not on my path, so it was not being recognised as a command.

like image 97
Codeheir Avatar answered Sep 20 '22 13:09

Codeheir