bw-xu

Results 8 comments of bw-xu

> You need two things: > > * Make sure that `CODON_PYTHON` points to Anaconda Python release (if not set, Codon might end up using the system Python release and...

It's quite a BIG ISSUE! If codon even cannot support python packages and can work only with pure codon code, it would be quite limited for application.

> It works. Thank you! I guess if libpython.dylib is used, it won't be accelerated by codon, right? Is there anyway to accelerate those python packages using codon?

> Yes. It might be a bug of `codon.jit`

Thanks for replying! I tried that, and it seemed to work. However, another error occurs in line 13 (`def is_prime_codon(n):`) > Exception has occurred: UnicodeEncodeError > 'ascii' codec can't encode...

> Thanks for replying! I tried that, and it seemed to work. However, another error occurs in line 13 (`def is_prime_codon(n):`) > > > Exception has occurred: UnicodeEncodeError > >...

OH, I know the reason. This is because my path to the source file contains Unicode characters. If there aren't such characters, [the solution above](https://github.com/exaloop/codon/issues/138#issuecomment-1366738628) works.

> @bw-xu Thanks for the report. Will see if we can handle this. Let's see. Also, I wonder if there is any guide for developer who would like to contribute...