Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(asdf:test-system :py4cl) crashes #46

Open
ericpmoss opened this issue Jul 8, 2021 · 4 comments
Open

(asdf:test-system :py4cl) crashes #46

ericpmoss opened this issue Jul 8, 2021 · 4 comments

Comments

@ericpmoss
Copy link

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!

@bendudson
Copy link
Owner

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?

@ericpmoss
Copy link
Author

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. :)

@digikar99
Copy link
Contributor

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

@shukryzablah
Copy link

Same problem. Python3 is safely a better default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants