[python] Fix load error by requiring pyvenv