Running py-ipv8 on Windows or MacOS, requires manual installation of Libsodium.
Libsodium can be downloaded from https://download.libsodium.org/libsodium/releases/
For eg. https://download.libsodium.org/libsodium/releases/libsodium-1.0.17-msvc.zip
Extract the files from the zip file
There are two extracted directories:
x64
andWin32
. Selectx64
for 64-bit orWin32
for 32-bit versions of Windows, and search forlibsodium.dll
. You can find one insideRelease/v141/dynamic/libsodium.dll
Copy this
libsodium.dll
file and paste it inC:\Windows\system32
Homebrew can be used to install libsodium:
brew install libsodium
For details, check here.