Home Download Buy Blog Forum Support

ST2, python modules and AquaTerm

ST2, python modules and AquaTerm

Postby holene on Sun Nov 11, 2012 1:31 pm

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: http://stackoverflow.com/a/9919953/315168), I get this error message upon build:

Code: Select all
gnuplot> set terminal aqua
         line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list

[Finished in 0.2s]

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:

Code: Select all
   "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"
Posts: 17
Joined: Mon Jun 25, 2012 8:33 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 20 guests