# Python and Fortran languages servers in VS Code not working after using cylc/rose/persistent-sessions

**URL:** <https://forum.access-hive.org.au/t/python-and-fortran-languages-servers-in-vs-code-not-working-after-using-cylc-rose-persistent-sessions/4651>\
**Category:** Technical\
**Tags:** python, help\
**Created:** [26 June 2025 12:26 UTC](https://forum.access-hive.org.au/t/python-and-fortran-languages-servers-in-vs-code-not-working-after-using-cylc-rose-persistent-sessions/4651 "2025-06-26T12:26:35Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![qinggangg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/qinggangg/32/4460_2.png) [@qinggangg](https://forum.access-hive.org.au/u/qinggangg)\
**Post date:** [8 July 2025 10:45 UTC](https://forum.access-hive.org.au/t/python-and-fortran-languages-servers-in-vs-code-not-working-after-using-cylc-rose-persistent-sessions/4651/10 "2025-07-08T10:45:03Z")

</div>

Hi Davide

Thank you. That is super helpful. I followed your instruction in another [thread](https://forum.access-hive.org.au/t/working-with-jupyter-notebooks-on-gadi-are-via-vs-code/461/2), and the python and fortran language servers finally get to work now:)

Have you used `Modern Fortran` in VS Code for fortran code syntax highlighting/hover? While the fortran language server is working with fortls in my conda environment, it outputs multiple error message like `Module "***" not found in project`. I am viewing ACCESS-rAM3 UM source code, which is suggestd not to be posted in this Forum as it is not open source.

I think the problem is with the first error message “Can’t open module file ‘\*\*\*.mod’ for reading at (1): No such file or directory”. If I mannually open a .F90 file, a corresponding .mod file will be generated and the error message will disappear. But since I donot open most of the .F90 file, there are too many warning messages. Can we point `Modern Fortran` to these .F90 files rather than .mod files?

Regards, Qinggang

---

_[View the full topic](https://forum.access-hive.org.au/t/python-and-fortran-languages-servers-in-vs-code-not-working-after-using-cylc-rose-persistent-sessions/4651)._
