determine Python library at runtime from Python executable