<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python Extension 1.0 : issue with Numpy on AWS in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/246209#M4450</link>
    <description>&lt;P&gt;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&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 13:39:32 GMT</pubDate>
    <dc:creator>LukaszMal</dc:creator>
    <dc:date>2024-05-21T13:39:32Z</dc:date>
    <item>
      <title>Python Extension 1.0 : issue with Numpy on AWS</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/245809#M4427</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;
&lt;P&gt;I want to run an ActiveGate extension (v1.0), written in Python3, on a AWS EC2 instance.&lt;/P&gt;
&lt;P&gt;I use the Python package&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Pandas&lt;/STRONG&gt;, which requires the package&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Numpy&lt;/STRONG&gt;.&lt;BR /&gt;&lt;EM&gt;plugin.json file :&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;"install_requires": ["pandas"]&lt;/PRE&gt;
&lt;P&gt;When I run the plugin, I get this error :&lt;/P&gt;
&lt;PRE&gt;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.)&lt;/PRE&gt;
&lt;P&gt;The plugin works fine when I run it manually with the sdk simulation :&lt;/P&gt;
&lt;PRE&gt;plugin_sdk simulate_plugin -p plugin&lt;/PRE&gt;
&lt;PRE&gt;plugin_sdk --version&lt;BR /&gt;plugin_sdk 1.287.149.20240416.100607&lt;/PRE&gt;
&lt;PRE&gt;Python version : 3.10.12&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run this plugin on other system, no on AWS, it works. So I think the issue came from the Dynatrace-AWS couple.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 10:15:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/245809#M4427</guid>
      <dc:creator>MathieuB</dc:creator>
      <dc:date>2024-05-16T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 1.0 : issue with Numpy on AWS</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/246209#M4450</link>
      <description>&lt;P&gt;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&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 13:39:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/246209#M4450</guid>
      <dc:creator>LukaszMal</dc:creator>
      <dc:date>2024-05-21T13:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Python Extension 1.0 : issue with Numpy on AWS</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/247041#M4501</link>
      <description>&lt;P&gt;I found no other solution : I had re-written my plugin by removing the Pandas library.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 12:41:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-Extension-1-0-issue-with-Numpy-on-AWS/m-p/247041#M4501</guid>
      <dc:creator>MathieuB</dc:creator>
      <dc:date>2024-05-31T12:41:01Z</dc:date>
    </item>
  </channel>
</rss>

