0

I'd like to run python code I'm editing in Sublime Text 4 in a specific conda env. Questions Virtualenvs in Sublime Text 4 and use conda environment in sublime text 3 asked similar questions. The starting configuration Olgierd Wiśniewski had would serve for me if it worked. I edited his build code to:

{
    "shell_cmd": "C://Users/steve/anaconda3/envs/PY10_2/python.exe -u \"$file\"",
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python"
}

saved it to my ST user directory, closed ST and reopened it. When I selected "Build With" I did not see my new sublime-build.

Would someone please set me straight?

MattDMo
  • 96,286
  • 20
  • 232
  • 224
Steve Maguire
  • 391
  • 1
  • 3
  • 10

1 Answers1

0

You should find the new option (your new sublime-build) in Tools -> Build System .