what platform is this? Linux? what linux?
do you have the NVIDIA driver installed?
post a full log of the command python setup.py install, not just the error message.

It’s weird that there is no pthread in your system, i am suspecting Solaris?