I want to be able to use a python interpreter inside a singularity image from visual studio code.
It seems that all of the options to point VSC to python interpreters involve a direct path, but using python within an image requires a command:
singularity exec path/to/image.img python3.6
I tried putting this in the VSC settings.json file:
"[python]": {
"python.pythonPath": "singularity exec /home/sryadgir/all/docker/py_dock/pydock_v0.img python3.6"
}
with no luck, running any python code from VSC uses the python interpreter here: /usr/bin/python3