How to set python home environment variable. Here's an example: Good answer.