Skip to content

OSError: [WinError 10038] in Win 10 (running the intro example) #28

Open
@patzf

Description

@patzf

On Win10 and Python 3.11 I run the following lines

import gnuplotlib as gp
import numpy as np
x = np.arange(101) - 50
gp.plot(x**2)

and get the following error

  File "C:\tools\py311\Lib\site-packages\gnuplotlib.py", line 2677, in plot
    globalplot = gnuplotlib(**jointOptions)
  File "C:\tools\py311\Lib\site-packages\gnuplotlib.py", line 1480, in __init__
    self._startgnuplot()
  File "C:\tools\py311\Lib\site-packages\gnuplotlib.py", line 1540, in _startgnuplot
    errorMessage, warnings = self._checkpoint('printwarnings')
  File "C:\tools\py311\Lib\site-packages\gnuplotlib.py", line 1705, in _checkpoint
    rlist,wlist,xlist = select.select([self.gnuplotProcess.stderr],[], [],
OSError: [WinError 10038] An operation was attempted on something that is not a socket

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