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

ValueError: Either the application has not called WSAStartup, or WSAStartup failed #47

Open
vgiotsas opened this issue Jan 15, 2020 · 2 comments

Comments

@vgiotsas
Copy link

vgiotsas commented Jan 15, 2020

I just installed py-radix on Windows 10 (Version 10.0.17763 Build 17763) but when I try to add prefixes in a radix tree instance I'm getting the following ValueError error:

Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32
>>> import radix
>>> r = radix.Radix()
>>> r.add('8.8.8.0/24')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Either the application has not called WSAStartup, or WSAStartup failed.
>>> radix.__version__
'0.10.0'

I don't have the same error when running the same code through the Windows Linux Subsystem (WLS).

@DrBob5188
Copy link

I'm having the same problem (Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] on win32) , py-radix 0.10.0, Windows 10 Pro 21H2 OS Build 19044.2364.

@DrBob5188
Copy link

Found an open pull request that resolves the issue. Thanks bgianpetro

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