Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ReinaFeng opened this issue Feb 21, 2020 · 2 comments

Comments

@ReinaFeng
Copy link

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?

@dkogan
Copy link
Owner

dkogan commented Feb 21, 2020

Hi. I don't use windows, so I can't help you. I'm sure making it work there is possible, but somebody else would have to actually implement it, and to do the work. Something's wrong with select(), but I don't know what.

Other reports that you may find helpful:

#15

#6

Patches welcome

@dkogan
Copy link
Owner

dkogan commented Sep 27, 2022

Closing old report. If somebody wants to work on it, please get in touch with me.

@dkogan dkogan closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants