Can not import .pyd?

Hi,
Can I import .pyd file in Viktor? It seems working on my PC, but not within viktor environment. Do I have to compile it within viktor?

Hi Huisky,

Thank you for your question. A .pyd file is specifically for windows, and does not work for Linux, accroding to the pyhton docs here .

In development, the app is running on your local windows machine, but in production it will be running on Linux, so the .pyd file can not be used. More info about potential differences between production and development can be found here: Frequently Asked Questions | VIKTOR Documentation

Regards,
Paulien

2 Likes