The Problem
Foo.rakumod:
Bar.rakumod
Baz.rakumod
and doing:
raku -I. -MFoo -e ''
results in
===SORRY!=== Error while compiling -e
===SORRY!=== Error while compiling /home/ggoebel/git/test/Foo.rakumod (Foo)
===SORRY!=== Error while compiling /home/ggoebel/git/test/Baz.rakumod (Baz)
Could not find python in:
file#/home/ggoebel/git/test
inst#/home/ggoebel/.raku
inst#/home/ggoebel/raku/share/perl6/site
inst#/home/ggoebel/raku/share/perl6/vendor
inst#/home/ggoebel/raku/share/perl6/core
ap#
nqp#
perl5#
at /home/ggoebel/git/test/Baz.rakumod (Baz):1
at /home/ggoebel/git/test/Foo.rakumod (Foo):2
at -e:1
Note: based on the number of files in the .precomp directory, precomp for Bar.rakumod appears to be successful. It is only the second "use Inline::Python" that results in an error. If after getting the error, I change the order of the use statements, then the code will compile (and precompile) without error.
The Problem
Foo.rakumod:
Bar.rakumod
Baz.rakumod
and doing:
raku -I. -MFoo -e ''
results in
Note: based on the number of files in the .precomp directory, precomp for Bar.rakumod appears to be successful. It is only the second "use Inline::Python" that results in an error. If after getting the error, I change the order of the use statements, then the code will compile (and precompile) without error.