Install 0.9.17 on void linux gives error code 2

I suspect you don’t have the dependencies installed that are required to build all the Python module dependencies. If that’s the case, you need to figure out what they are. Somebody in the Void Linux community may be able to help you, and better yet, create an official package.