Skip to content

OSError: [WinError 10093] Either the application has not called WSAStartup, or WSAStartup failed #16

Closed
@ReinaFeng

Description

@ReinaFeng

Hi,

when I run on windows. It shows:

gp.plot( np.linspace(-5,5,30)**2,unset='grid', terminal='dumb 80 40' )
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\rounan_feng\AppData\Local\Programs\Python\Python38\lib\site-packages\gnuplotlib.py", line 2648, in plot
globalplot = gnuplotlib(**jointOptions)
File "C:\Users\rounan_feng\AppData\Local\Programs\Python\Python38\lib\site-packages\gnuplotlib.py", line 1480, in init
self._startgnuplot()
File "C:\Users\rounan_feng\AppData\Local\Programs\Python\Python38\lib\site-packages\gnuplotlib.py", line 1534, in _startgnuplot
errorMessage, warnings = self._checkpoint('printwarnings')
File "C:\Users\rounan_feng\AppData\Local\Programs\Python\Python38\lib\site-packages\gnuplotlib.py", line 1694, in _checkpoint
rlist,wlist,xlist = select.select([self.gnuplotProcess.stderr],[], [],
OSError: [WinError 10093] Either the application has not called WSAStartup, or WSAStartup failed

Is that possible to solve?

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