pelletier/virtual-manager

pointing to python version

Opened this issue · 1 comments

I'm on Arch Linux(so, Python 3.2 is default). So, I get an ImportError when I run vm. I tried to fix this by adding a shebang: #!/usr/bin/env python2.7 but that doesn't seem to work. Any ideas on how to point vm to python2.7?

You have to change this line: https://github.com/pelletier/virtual-manager/blob/master/vm.sh#L25
That's the one actually executing virtual-manager.

I think I should find a way to define the Python executable you want to use, instead of modifying a source file.