16 May 2024
11:00 AM
- last edited on
16 May 2024
11:15 AM
by
MaciejNeumann
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
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.
Solved! Go to Solution.
21 May 2024 02:39 PM
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
31 May 2024 01:41 PM
I found no other solution : I had re-written my plugin by removing the Pandas library.