When running EasyABC for the first time under Linux, it tries to determine the path to gs from the output of which gs. However, in python3, it returns a bytestring (eg b'/usr/bin/gs\n'). EasyABC is expecting a str. Simply adding .decode() fixes the issue.
As I read the code, the unicode() call is left over from python2 and can be removed.
Fixes #66
When running EasyABC for the first time under Linux, it tries to determine the path to gs from the output of
which gs
. However, in python3, it returns a bytestring (egb'/usr/bin/gs\n'
). EasyABC is expecting a str. Simply adding .decode() fixes the issue.As I read the code, the
unicode()
call is left over from python2 and can be removed.Tested on Manjaro linux, python3.10.10
Cheers :beers: