PyNaCl

PyNaCl is a Python binding to libsodium

https://github.com/pyca/pynacl

This page explains how to install the python package for Windows Arm64.

Prerequisite

  1. Visual Studio installation

  2. Vcpkg

Install libsodium

vcpkg install libsodium --triplet arm64-windows

Add libsodium to environment variables

$env:LIB+=";C:\Users\niysai01\Workspace\vcpkg\packages\libsodium_arm64-windows\lib" $env:INCLUDE+=";C:\Users\niysai01\Workspace\vcpkg\packages\libsodium_arm64-windows\include"

Set environment variables to use installed libsodium

$env:PYNACL_SODIUM_LIBRARY_NAME="sodium" $env:PYNACL_SODIUM_STATIC="1" $env:SODIUM_INSTALL="system"

Build with pip