Anypreter icon indicating copy to clipboard operation
Anypreter copied to clipboard

Nothing happens when running "interpret code"

Open ksamuel opened this issue 12 years ago • 4 comments

I installed the anypreter using package control on a ST2 buld 2217 on an ubuntu 12.04.

I have the following value in my settings file:

"python_binary_path": "/usr/bin/python"

This interpreter works and run Python 2.7.

However, if I ask for anypreter to run the code (e.g. I right click then choose "interpret code"), nothing happens.

ksamuel avatar Feb 20 '13 14:02 ksamuel

I had a similar problem, but on windows. I tried adding the path to my settings file in sublime text but nothing worked. Then I added the binary path directly to my system path through environment variable settings. It started to work perfectly for me. Try adding the binary path for pyhton directly into your system path in ubuntu rather than in the settings file and see if it works for you. Good luck!

studystruck avatar Feb 25 '13 19:02 studystruck

Unfortunatly I can't do this since (despite the example I gave for simplifications) I'm using a virtualenv. I got 20 of them.

Plus, running Python works fine, ST2 uses Python, and I got 10 other plugins using Python that work.

ksamuel avatar Feb 26 '13 09:02 ksamuel

It works for PHP on Windows, with settings "php_binary_path": "D:/wamp/bin/php/php5.4.3". I'm going to try on my Ubuntu 12.04 to see if things work.

fujianto avatar May 14 '13 14:05 fujianto

I'm a newbie to the world of coding. I'm learning the php fundamentals at the moment. I'd like to get Anypreter working on ST3. "Interpret code" is grayed out. How tips on how to fix this or is Anypreter not supported on ST3?

zerohum avatar Mar 18 '14 20:03 zerohum