Sublime Forum

ST2, python modules and AquaTerm

#1

I’m using Sublime Text2 to write some script in Python, where I in the end want to plot some values with Gnuplot. After struggling with getting ST2 to find the Gnuplot module (solution: stackoverflow.com/a/9919953/315168), I get this error message upon build:

[code]gnuplot> set terminal aqua
^
line 0: unknown or ambiguous terminal type; type just ‘set terminal’ for a list

[Finished in 0.2s][/code]

I have the AquaTerm installed, but just as with the Gnuplot module, ST2 seems to not communicate with much of my system. AquaTerm, as with Gnuplot, was installed using Macports, and is working smooth as silk with Terminal.

Is there a way to make ST2 primarily check the system, and then it’s own packages upon build? Or am I missing out on something with ST2 here? My python.sublime-build file looks like this:

{ "path": "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin", "env": {"PYTHONPATH":"/usr/local/lib/:/usr/local/bin/python2.7"}, "cmd": "python2.7", "-u", "$file"], "file_regex": "^ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python" }

0 Likes