在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
I was using IronPython to execute python code inside my C# implementation lately, and I encountered this error when trying to use xmlrpclib:
It was really frustrating because if I try the same in IronPython console, it works fine. It turned out that this was a problem with search paths. When called via C# code, IronPython does not search for missing libraries unless you provide it a path to search for. Here’s how I solved this issue:
This will print all the search paths. Save these paths somewhere.
Replace |
请发表评论