Can I Use an External Library in Python DataPlugin?

Updated Nov 1, 2023

Reported In


  • DIAdem 2020

Programming Language

  • Python

Issue Details

I'm trying to create a DataPlugin using Python. I want to use an external library, for example numpy, in a plugin, but can I import it?


Unfortunately, Python DataPlugins provided with DIAdem2020 does not allow you to import external libraries. Currently, Python DataPlugins works only with the standard libraries installed with python 3.5. You can only use the native functions in the python 3.5 runtime engine. You cannot use any external modules that would have to be pip installed. 

Additional Information

You can find out what standard libraries are available on The Python Standard Library — Python 3.5.9 documentation.