Community
When loading the Arnold Python API in 3.9, the import command errors out the first time saying it "cannot find ai.dll". Trying to import it again after that works as expected, though.
try: import arnold # this will return the error except: print("Something went wrong, trying again...") import arnold # this will succeed # I can now call API functions as expected arnold.AiBegin()
This seems to only be an issue on 3.9 - earlier versions work as expected. Has anyone else seen this? I tested on Arnold 6.0.4.0 and 6.2.0.0 with the same result.
If you set PATH yourself to include the Arnold bin folder, then it will work the first time.
It seems that something changed in Python, and trying to load Arnold without a full path is failing with Python 3.9
Thanks for reporting, I'll log a ticket.