<?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 2.0 extension: No matching distribution found for my_python in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239302#M4183</link>
    <description>&lt;P&gt;Adding it into the setup file is the way to go.&lt;/P&gt;
&lt;P&gt;Download the netscaler or so extension from the public hub to have a look at how we built that extension wheel file.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 22:43:58 GMT</pubDate>
    <dc:creator>Mike_L</dc:creator>
    <dc:date>2024-03-07T22:43:58Z</dc:date>
    <item>
      <title>Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239299#M4180</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm working on trying to get more familiar with creating a python based extension in the 2.0 framework. I am able to test it locally via the simulate button and see it is working fine but when I upload it to an AG I get the below via grail. I have python 3.11.5 installed on the AG. Anyone ran into this before or know some steps I can take to troubleshoot?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I haven't done anything but touch the ___main__.py_ file and added some code there, haven't touched any other file.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Failed to assign monitoring configuration to ActiveGate. Reason: ERROR: No matching distribution found for my_python&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 22:07:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239299#M4180</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-03-07T22:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239300#M4181</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17361"&gt;@sivart_89&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;Can you please try building your extension with Python 3.10. The ActiveGates have 3.10&amp;nbsp;included that EF2 Python extensions use.&lt;BR /&gt;(for example in :&amp;nbsp;C:\Program Files\dynatrace\remotepluginmodule\agent\res\dsruntime\python3.10\bin)&amp;nbsp;&lt;BR /&gt;This also means that you don't have to install Python separately on the AG(s) you want to run the extensions from.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 22:11:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239300#M4181</guid>
      <dc:creator>DavidMass</dc:creator>
      <dc:date>2024-03-07T22:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239301#M4182</link>
      <description>&lt;P&gt;That did it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thank you!&lt;/P&gt;&lt;P&gt;I'm now seeing from grail the below. Is there a file within the extension where I should be putting the required modules? I noticed there is file python.egg-info/requires.txt but that does not seem to actually be saved with changes, seems you need to add it into the setup.py to have the requires.txt file updated. Not even sure if that is the right approach though.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Method=query: ModuleNotFoundError(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"No module named 'requests'"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 22:41:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239301#M4182</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-03-07T22:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239302#M4183</link>
      <description>&lt;P&gt;Adding it into the setup file is the way to go.&lt;/P&gt;
&lt;P&gt;Download the netscaler or so extension from the public hub to have a look at how we built that extension wheel file.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 22:43:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239302#M4183</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2024-03-07T22:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239303#M4184</link>
      <description>&lt;P&gt;As an example to what Mike said, in the setup.py you can add all your required modules in the "&lt;SPAN&gt;install_requires&lt;/SPAN&gt;&lt;SPAN&gt;" array.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;install_requires&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;"dt-extensions-sdk", "requests"&lt;/SPAN&gt;&lt;SPAN class=""&gt;],&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;A href="https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/extension_structure.html#setup-py" target="_blank" rel="noopener"&gt;https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/extension_structure.html#setup-py&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:00:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239303#M4184</guid>
      <dc:creator>DavidMass</dc:creator>
      <dc:date>2024-03-07T23:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239304#M4185</link>
      <description>&lt;P&gt;Downloaded it, thanks for pointing that out. I'll likely reference it a bit more as I learn more of this.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:06:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239304#M4185</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-03-07T23:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python 2.0 extension: No matching distribution found for my_python</title>
      <link>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239305#M4186</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/909"&gt;@DavidMass&lt;/a&gt;. I no longer see that error. Getting other errors now but I know how to fix them. Much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:07:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Python-2-0-extension-No-matching-distribution-found-for-my/m-p/239305#M4186</guid>
      <dc:creator>sivart_89</dc:creator>
      <dc:date>2024-03-07T23:07:32Z</dc:date>
    </item>
  </channel>
</rss>

