bendudson/py4cl

(asdf:test-system :py4cl) crashes

ericpmoss opened this issue · 4 comments

I think the issue is that py4cl:python-command is defvar'd to "python" and at least on my Ubuntu, the name should be "python3". When the first line of tests/tests.lisp tries to import math, the code that starts python fails, and is not reacting gracefully to that failure. Instead, we get a read on EOS failure.

My personal workaround is to:
(let ((py4cl:python-command "python3"))

)

but I'm guessing there is a better way.

Thanks for the package, btw!

Hi @ericpmoss Thanks for letting me know! Perhaps it would be best to make the default "python3", since that now seems to be the standard?

It might be -- I am pretty ignorant about these things, but I've only seen python3 in use for several years now. I'm rather glad I don't have to type sbcl2.1.6 to start lisp. :)

There are a few fixes at https://github.com/rpgoldman/py4cl2 that could perhaps be cherry-picked here

Same problem. Python3 is safely a better default