<?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 Error: No module named 'psycopg2._psycopg' in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Error-No-module-named-psycopg2-psycopg/m-p/197835#M2517</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Anyone can help me solving this error please&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_0-1667583207806.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8385i8C07AAB8742CAB13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_0-1667583207806.png" alt="rbeguin_0-1667583207806.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is Python import in my .py file :&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; import&lt;/SPAN&gt; &lt;SPAN&gt;psycopg2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Here is install requirement in plugin.json :&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_1-1667583399679.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8386iDAC808E1841C761E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_1-1667583399679.png" alt="rbeguin_1-1667583399679.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;I launched this command to build extension :&lt;BR /&gt;&lt;EM&gt;plugin_sdk build_plugin -t &amp;lt;my_token&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;I tryed many things :&lt;/P&gt;
&lt;P&gt;1) building extension directly in production host with this command (it build but doesnt'n work when launching)&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;building extension in my dev personnal computer with this command (it build but doesnt'n work when uploading and launching on production host but work well in my personnal computer where activegate is launched)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is error in logs :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_2-1667583893424.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8387i74A368BDA1668F9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_2-1667583893424.png" alt="rbeguin_2-1667583893424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I don't understand because psycopg2._psycopg exists :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_3-1667584000040.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8388i58C4EF2D8BC03F3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_3-1667584000040.png" alt="rbeguin_3-1667584000040.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 09:46:23 GMT</pubDate>
    <dc:creator>rbeguin</dc:creator>
    <dc:date>2022-11-07T09:46:23Z</dc:date>
    <item>
      <title>Error: No module named 'psycopg2._psycopg'</title>
      <link>https://community.dynatrace.com/t5/Extensions/Error-No-module-named-psycopg2-psycopg/m-p/197835#M2517</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Anyone can help me solving this error please&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_0-1667583207806.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8385i8C07AAB8742CAB13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_0-1667583207806.png" alt="rbeguin_0-1667583207806.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is Python import in my .py file :&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; import&lt;/SPAN&gt; &lt;SPAN&gt;psycopg2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Here is install requirement in plugin.json :&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_1-1667583399679.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8386iDAC808E1841C761E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_1-1667583399679.png" alt="rbeguin_1-1667583399679.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;I launched this command to build extension :&lt;BR /&gt;&lt;EM&gt;plugin_sdk build_plugin -t &amp;lt;my_token&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;I tryed many things :&lt;/P&gt;
&lt;P&gt;1) building extension directly in production host with this command (it build but doesnt'n work when launching)&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;building extension in my dev personnal computer with this command (it build but doesnt'n work when uploading and launching on production host but work well in my personnal computer where activegate is launched)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is error in logs :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_2-1667583893424.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8387i74A368BDA1668F9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_2-1667583893424.png" alt="rbeguin_2-1667583893424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I don't understand because psycopg2._psycopg exists :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rbeguin_3-1667584000040.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8388i58C4EF2D8BC03F3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rbeguin_3-1667584000040.png" alt="rbeguin_3-1667584000040.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:46:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Error-No-module-named-psycopg2-psycopg/m-p/197835#M2517</guid>
      <dc:creator>rbeguin</dc:creator>
      <dc:date>2022-11-07T09:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error: No module named 'psycopg2._psycopg'</title>
      <link>https://community.dynatrace.com/t5/Extensions/Error-No-module-named-psycopg2-psycopg/m-p/199379#M2572</link>
      <description>&lt;P&gt;You need to use python 3.8 to build your extension, because that is the python version that is bundled with the Activegate and OneAgent.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 12:12:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Error-No-module-named-psycopg2-psycopg/m-p/199379#M2572</guid>
      <dc:creator>david_lopes</dc:creator>
      <dc:date>2022-11-29T12:12:31Z</dc:date>
    </item>
  </channel>
</rss>

