Cannot open file 'python39_d.lib'

don’t build as “debug”. then you won’t need python39_d.lib.

build as “release”.