anaconda icon indicating copy to clipboard operation
anaconda copied to clipboard

Missing "Anaconda Python Builder"

Open ZupoLlask opened this issue 8 years ago • 12 comments

Sublime version: ST3 Build 3114 Windows 10 Pro 1607 (build 14393; 64-bit)

I've installed package through package installer and everything seems to work, but it doesn't add "Anaconda Python Builder".

I've also changed my python_interpreter from python to py (so it uses system's default Windows Python launcher) but no matter what I'm still getting the error below.

'python' is not recognized as an internal or external command, operable program or batch file.

ZupoLlask avatar Aug 24 '16 13:08 ZupoLlask

I am not expert on Windows (just use it to play games that doesn't work on Linux) so I don't really know what is that Windows Python Launcher but looks like whatever python command that tool is invoking is not found in your path for the environment that the ST3 is inheriting.

Try to change the python_interpreter to the full path of your real python interpreter.

DamnWidget avatar Aug 25 '16 07:08 DamnWidget

Hi! ☺️

py is the official wrapper included in Python 3 packages responsible to execute on the fly either Python 2 or Python 3, without having to mess with environment variables and so on.

py - 3 will run python.exe from Python 3, while py - 2 will run python.exe from Python 2, and so on. Any arguments will be passed to python.exe.

As it is installed in Windows folder, py is everything that should be needed for the executable to be found.

Question is, why is Anaconda Python Builder missing in my Build Systems? If it is missing, and therefore not used when I try to run Python code, maybe that's the reason why even changing Anaconda global settings python_interpreter to py, it still tries to run python and not py.

So, the first question that needs to be answered is, why is Anaconda Python Builder missing in my Build Systems?

Does Anaconda install procedure needs system's Python to be available through python in the first place? I thought it relied on ST3 own Python...

I'll make some tests and report back, however that enlightenment would be important to understand this behavior...

ZupoLlask avatar Aug 25 '16 08:08 ZupoLlask

Anaconda will update the Anaconda Python Builder to use whatever Python interpreter that you configured as your python_interpreter setting option. If it is missing is because anaconda is not able to start the jsonserver using that configured Python interpreter or because you are not using any ST3 project file.

DamnWidget avatar Aug 25 '16 09:08 DamnWidget

@ZupoLlask any update?

DamnWidget avatar Aug 29 '16 08:08 DamnWidget

@DamnWidget,

Anaconda Python Builder is still missing even if I save a ST3 project @ my Build System options...

I'm not sure how can I help you replicating this problem...

ZupoLlask avatar Sep 01 '16 14:09 ZupoLlask

But is anaconda working at all for you?

DamnWidget avatar Sep 01 '16 16:09 DamnWidget

Yes, it is.

Auto completition, code linting, imports validation...

Problem is Anaconda's Build System is missing.

ZupoLlask avatar Sep 02 '16 16:09 ZupoLlask

Is there any install log which I can send you so I can help you debugging this?

ZupoLlask avatar Sep 03 '16 12:09 ZupoLlask

Are you working into a Sublime Text 3 Project?, Anaconda creates the Anaconda Python Builder entry only if you are working in a project (as it creates the entry at your project level)

DamnWidget avatar Sep 10 '16 12:09 DamnWidget

It is missing even if I create a ST3 project...

ZupoLlask avatar Sep 10 '16 13:09 ZupoLlask

I'll grab some screenshots so we can make sure we are in the same page.

ZupoLlask avatar Sep 10 '16 13:09 ZupoLlask

It is also missing from my ST3. I installed Anaconda package using package control and the Anaconda Python Builder was present in my Build options list. Then I uninstalled the package for unrelated reasons and reinstalled it and now it won't show up no matter what I do. Went as far as completely uninstalling ST3 and reinstalling and then reinstalling the package and the builder does not show up

alexdauenhauer avatar Aug 12 '19 14:08 alexdauenhauer