made python path/env  more robust
Merge pull request #4 from Korovyov/master

made python path/env more robust