How to install Python Plugins

I downloaded OrthancPython-Win64-Python3.8-3.3.dll from https://www.orthanc-server.com/browse.php?path=/plugin-python/OrthancPython-3.3-Windows, and move the file to C:\Program Files\Orthanc Server\Plugins. When I restart Orthanc services, I got the following error:

“Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)”

I tried renaming the file to OrthancPython.dll, OrthancPython-Win64.dll and also OrthancPython-Win64-Python3.8.dll. None of them works.

In my orthanc.json, the plugins are initialised like this:
“Plugins” : [ “C:\Program Files\Orthanc Server\Plugins” ],

I’m using Windows 10 64-bit, Python 3.8.10, Orthanc Version 21.2.0

This previous thread seems similar to your issue:
https://groups.google.com/g/orthanc-users/c/PKmiL0-Arn0/m/xPgxAmGMBwAJ

This could also indicate that you are running a 32bit version of Orthanc.

In the future, please post the full logs of Orthanc in “–verbose” mode while asking questions on this forum:
https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example

Sébastien-