Re: Using Inline::Python

2022-09-09 Thread Elizabeth Mattijsen
Sorry to hear that. I'm afraid then you'd need to invest more time to go along this avenue. I know that Inline::Python hasn't nearly gotten the TLC that Inline::Perl5 has had by Stefan Seifert. And that Inline::Python basically needs an additional maintainer. > On 9 Sep 2022, at 21:08, Sean

Re: Using Inline::Python

2022-09-09 Thread Sean McAfee
Good enough reason to try! I got the 2022.07 release from brew. Then zef install -v Inline::Python --exclude=python3 (the same incantation I used before) failed with: ===> Searching for: Inline::Python ===> Found: Inline::Python:ver<0.5>:auth [via Zef::Repository::LocalCache] ===> Building: Inli

Re: Using Inline::Python

2022-09-09 Thread Elizabeth Mattijsen
Well, if you would like people to look into possible core issues, then it would help using the latest released version (aka 2022.07). Especially since 2021.04 is from before the new-disp work being merged, so it is not completely unlikely it functions better now. > On 9 Sep 2022, at 20:44, Sea

Re: Using Inline::Python

2022-09-09 Thread Sean McAfee
I still see the same behavior. That is, if I do say spark.sql('select 1+1'); twice, the first time prints an empty array, and the second produces the "instance has no attribute 'sql'" error message. I forgot to mention, this is on a somewhat old version of Raku, 2021.04. But then, Inline::Python

Re: Using Inline::Python

2022-09-09 Thread Elizabeth Mattijsen
To rule out any REPL artefacts, do you see the same thing if you put the code in a script and run the script? > On 9 Sep 2022, at 20:17, Sean McAfee wrote: > > Hello-- > > I recently started playing around with PySpark. It soon occurred to me that > it would be a lot more fun to work in Raku

Using Inline::Python

2022-09-09 Thread Sean McAfee
Hello-- I recently started playing around with PySpark. It soon occurred to me that it would be a lot more fun to work in Raku instead of Python, and I recalled that it's supposed to be possible to get handles to Python objects from Raku and call methods on them seamlessly, so I tried to make it