Modern Fortran Error starting fortls

I am a novice who just learned Fortran. After I installed Modern Fortran in vscode, I opened a certain f90 file, and vscode popped up such an error box, which read: Modern Fortran Error starting fortls: Check that fortls is in your PATH or that “fortran.fortls.path” is pointing to a fortls binary.At the same time, I can’t find a button like go to define when I right-click any variable or function name in the vscode file.
Please tell me how to solve this problem, thank you!
fortls error

1 Like

https://fortls.fortran-lang.org/quickstart.html

you should install python firstly ,and then pip install fortls