Skip to content

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

@vgiotsas

Description

@vgiotsas

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).

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