You should rather use simplepbr.init(enable_shadows=True).
simplepbr.init(enable_shadows=True)
Keep in mind setting up a directional light with shadows requires extra effort. See: