I am trying to use Gnuplot in a Python script. I am writing in Sublime Text. Whenever I build, I get an error
Traceback (most recent call last): File "..." line 4, in <module> import Gnuplot ImportError: No module named Gnuplot
If I make exact lines of code directly in the terminal, I have no problem importing and using Gnuplot.
The import error seems to be common, only with other modules. Typically, the fix is ββrelated to PYTHONPATH. However, Gnuplot is located on my computer located in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
and therefore should be found.
Anyone who got a fix for this?
source share