-
Is it possible to configure python interpreter to be used by fortls? I have system python 3.6 which is not compatible and I have fortls installed in a conda environment, I tried the following but it does not seem to work. {
"fortran.fortls.path": "/path/to/fortls",
"python.defaultInterpreterPath": "/path/to/python",
} I am trying to use this in vscode-server through the remote-ssh. thanks |
Beta Was this translation helpful? Give feedback.
Answered by
guziy
Jul 4, 2022
Replies: 1 comment 1 reply
-
I think I found a way to do it. Activate the conda environment then: pip install --user fortls # wich will install fortls in ${HOME}/.local/bin with the python absolute path set in the sheebang And specify the path to the pip version of |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
guziy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I found a way to do it.
Activate the conda environment then:
pip install --user fortls # wich will install fortls in ${HOME}/.local/bin with the python absolute path set in the sheebang
And specify the path to the pip version of
fortls
in remote settings of vscode, relaunch vscode and enjoy.