saxo icon indicating copy to clipboard operation
saxo copied to clipboard

Add python version check

Open sbp opened this issue 11 years ago • 4 comments

@dpk was getting an os.fsencode error.

sbp avatar Oct 30 '13 09:10 sbp

Note that this needs to be done for scripts too. For example, if you use a local python to start saxo:

~/Python-3.3.2/python ./saxo -f start

But your /usr/bin/env python3 is less than 3.3, then you'll get command errors for those that use #!/usr/bin/env python3 as a shebang.

sbp avatar Oct 30 '13 14:10 sbp

We could sniff to see what python executable is being used, then add that to $PATH.

sbp avatar Oct 30 '13 14:10 sbp

The version check could also be made in @saxo.pipe.

sbp avatar Dec 03 '13 23:12 sbp

A related fix is making sure that saxo versions match too. I've added a check for that in 4eb0ca843.

sbp avatar Jan 31 '14 16:01 sbp