Thank you for the answer.
I edited the build settings for Python, to use python3 as shell command, so my python build settings look like this:
{
“shell_cmd”: “python3 -u “$file””,
“file_regex”: “^[ ]File "(…?)”, line ([0-9]*)",
“selector”: “source.python”,
"env": {"PYTHONIOENCODING": "utf-8"},
"variants":
[
{
"name": "Syntax Check",
"shell_cmd": "python3 -m py_compile \"${file}\"",
}
]
}
However when I try to run with this a python script with the ASE package it yields this errors:
ModuleNotFoundError: No module named ‘ase’
[Finished in 0.0s with exit code 1]
[shell_cmd: python3 -u “/Users/tirso/SeqCuox/Calculations/CuO_slab111.py”]
[dir: /Users/tirso/SeqCuox/Calculations]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
However, if I run in terminal the command: python3 -u “/Users/tirso/SeqCuox/Calculations/CuO_slab111.py”, it runs perfectly fine.