Fix python env issues.