Using python in D

rnd r_narang at yahoo.com
Fri Jun 7 05:04:30 UTC 2019


On Friday, 7 June 2019 at 04:39:14 UTC, rikki cattermole wrote:
> On 07/06/2019 3:54 PM, rnd wrote:
>> 
>> How should I 'initialize python' ?
>
> The example is probably a good place to begin.
>
> https://github.com/ariovistus/pyd/blob/master/examples/simple_embedded/hello.d

Thanks for the link. After putting in missing statements, it 
started running but reported:

      exceptions.ImportError: No module named pandas

I believe pyd is working on Python2 while I have pandas installed 
in Python3.

How can I specify Python version 3 in pyd?



More information about the Digitalmars-d-learn mailing list