Inactive Tutor answered 9d
`vcvarsall.bat` appears to be a script to setup environment variables within the Visual Studio C/C++ build system. This library has a binary version which requires compilation of a library written in Rust. This binary version of the library is then bound within python (Via the CTypes built-in library). This binary compilation is why `vcvarsall.bat` is being used and why you are getting an error for not having that file on your system.
To install the pure python version the github repository for Dulwich recommends running this command to install instead: