sublime-text-conda icon indicating copy to clipboard operation
sublime-text-conda copied to clipboard

Build System: Automatic keeps not selecting conda

Open tdegeus opened this issue 2 years ago • 1 comments

I have this extension set-up and I am trying to use it on a *.py file.

  • When I select Tools > Build System > Conda everything works fine.
  • When I set Tools > Build System > Automatic I think that the wrong Python executable is selected, and thus are the packages in my environment not seen. I draw this conclusion because conda is last in the path:
    ModuleNotFoundError: No module named 'numpy'
    [Finished in 40ms with exit code 1]
    [cmd: ['python3', '-u', '/Users/tdegeus/Downloads/RunFixedLever/drive.py']]
    [dir: /Users/tdegeus/Downloads/RunFixedLever]
    [path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin:/Applications/Araxis Merge.app/Contents/Utilities:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Users/tdegeus/miniforge3/envs/stable/bin:/Users/tdegeus/miniforge3/condabin]
    

Is there any way how to resolve this?

tdegeus avatar Aug 12 '21 07:08 tdegeus