Skip to content

does anyone run this on windows 7? #6

Closed
@retsyo

Description

@retsyo

I have gnuplot(which is on my PATH environment places), but

E:\greensoft\math\gnuplot\bin>set path=E:\greensoft\math\gnuplot\bin;%path%

E:\greensoft\math\gnuplot\bin>gnuplot --version
gnuplot 5.1 patchlevel 0

E:\greensoft\math\gnuplot\bin>py27

E:\greensoft\math\gnuplot\bin>e:\prg\py\Anaconda2_32\python.exe
Python 2.7.12 |Anaconda 2.2.0 (32-bit)| (default, Jun 29 2016, 11:42:13) [MSC v.
1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import numpy      as np
>>> import gnuplotlib as gp
>>>
>>> x = np.arange(101) - 50
>>> gp.plot(x**2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "e:\prg\py\pure_pylib\_chart\_gnuplotlib\gnuplotlib.py", line 1678, in pl
ot
    globalplot = gnuplotlib(**plotOptions)
  File "e:\prg\py\pure_pylib\_chart\_gnuplotlib\gnuplotlib.py", line 792, in __i
nit__
    self._startgnuplot()
  File "e:\prg\py\pure_pylib\_chart\_gnuplotlib\gnuplotlib.py", line 812, in _st
artgnuplot
    self._safelyWriteToPipe("set terminal push", 'terminal')
  File "e:\prg\py\pure_pylib\_chart\_gnuplotlib\gnuplotlib.py", line 1029, in _s
afelyWriteToPipe
    errorMessage, warnings = self._checkpoint('printwarnings')
  File "e:\prg\py\pure_pylib\_chart\_gnuplotlib\gnuplotlib.py", line 1108, in _c
heckpoint
    rlist,wlist,xlist = select.select([self.gnuplotProcess.stderr],[], [], 5)
select.error: (10038, '')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions