Python Extension 1.0 : issue with Numpy on AWS

Hi community,

I want to run an ActiveGate extension (v1.0), written in Python3, on a AWS EC2 instance.

I use the Python package Pandas, which requires the package Numpy.
plugin.json file :

"install_requires": ["pandas"]

When I run the plugin, I get this error :

Error(Unable to import required dependencies: numpy: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there.)

The plugin works fine when I run it manually with the sdk simulation :

plugin_sdk simulate_plugin -p plugin
plugin_sdk --version<br>plugin_sdk 1.287.149.20240416.100607
Python version : 3.10.12

When I run this plugin on other system, no on AWS, it works. So I think the issue came from the Dynatrace-AWS couple.

We don’t support custom plugins, but what I would recommend is to rewrite it to use the extension framework 2.0. Version 1.0 will be deprecated soon

I found no other solution : I had re-written my plugin by removing the Pandas library.