Hello and welcome
This is not a Python bug, this is a symptom of setting PYTHONHOME
and/or PYTHONPATH
when they’re not needed. In nearly all cases you don’t need to set either of them; in the case of PYTHONHOME
it’s almost always a mistake to set.
Is there a particular reason you’re trying to set these variables? Are you following a guide that suggests it?