# Modern Fortran Error starting fortls

**URL:** <https://fortran-lang.discourse.group/t/modern-fortran-error-starting-fortls/6132>\
**Category:** Visual Studio Code\
**Created:** [July 11, 2023, 12:57am UTC](https://fortran-lang.discourse.group/t/modern-fortran-error-starting-fortls/6132 "2023-07-11T00:57:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![messi](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@messi](https://fortran-lang.discourse.group/u/messi)\
**Post date:** [July 11, 2023, 12:57am UTC](https://fortran-lang.discourse.group/t/modern-fortran-error-starting-fortls/6132/1 "2023-07-11T00:57:05Z")

</div>

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](https://global.discourse-cdn.com/free1/uploads/fortran_lang/original/2X/2/296551f2c84b74de03ef01604bedc41f800fa479.png)

---

<div class="post-metadata">

**Author:** ![Euler-37](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@Euler-37](https://fortran-lang.discourse.group/u/Euler-37)\
**Post date:** [July 11, 2023, 1:18am UTC](https://fortran-lang.discourse.group/t/modern-fortran-error-starting-fortls/6132/2 "2023-07-11T01:18:06Z")

</div>

[https://fortls.fortran-lang.org/quickstart.html](https://fortls.fortran-lang.org/quickstart.html)

you should install python firstly ,and then `pip install fortls`

---

<div class="post-metadata">

**Author:** ![martin1](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@martin1](https://fortran-lang.discourse.group/u/martin1)\
**Post date:** [January 25, 2025, 2:32pm UTC](https://fortran-lang.discourse.group/t/modern-fortran-error-starting-fortls/6132/3 "2025-01-25T14:32:24Z")

</div>

I’ve done this and still get the error. I don’t know what I’m meant to do to get fortls to work. Has anyone here had success with it?
