hange directory to $PYTHONHOME to avoid encodings error