<?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: ERROR: Could not find a version that satisfies the requirement pyodbc in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292129#M6957</link>
    <description>&lt;P&gt;You need to build your extension on python 3.10 if you want to use native libraries.&lt;BR /&gt;&lt;BR /&gt;Please take a look at the whl files in your extension lib folder, if they are not targeting python 3.10 for the architecture of the AG/OA you are not using a compatible python version or OS architecture/flag to build the&amp;nbsp; extension&lt;/P&gt;</description>
    <pubDate>Wed, 24 Dec 2025 00:28:31 GMT</pubDate>
    <dc:creator>david_lopes</dc:creator>
    <dc:date>2025-12-24T00:28:31Z</dc:date>
    <item>
      <title>ERROR: Could not find a version that satisfies the requirement pyodbc</title>
      <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/255751#M5139</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;Trying to compile EF2 code which need to import pyodbc and receiving the follow error&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;{
  "error": [
    "ERROR: Could not find a version that satisfies the requirement pyodbc (from matrix-boi-dbquery) (from versions: none)",
    "ERROR: No matching distribution found for pyodbc",
    "Traceback (most recent call last):",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\runpy.py\", line 196, in _run_module_as_main",
    "    return _run_code(code, main_globals, None,",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\runpy.py\", line 86, in _run_code",
    "    exec(code, run_globals)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\dt-sdk.exe\\__main__.py\", line 7, in &amp;lt;module&amp;gt;",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\typer\\main.py\", line 338, in __call__",
    "    raise e",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\typer\\main.py\", line 321, in __call__",
    "    return get_command(self)(*args, **kwargs)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\click\\core.py\", line 1157, in __call__",
    "    return self.main(*args, **kwargs)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\typer\\core.py\", line 728, in main",
    "    return _main(",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\typer\\core.py\", line 197, in _main",
    "    rv = self.invoke(ctx)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\click\\core.py\", line 1688, in invoke",
    "    return _process_result(sub_ctx.command.invoke(sub_ctx))",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\click\\core.py\", line 1434, in invoke",
    "    return ctx.invoke(self.callback, **ctx.params)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\click\\core.py\", line 783, in invoke",
    "    return __callback(*args, **kwargs)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\typer\\main.py\", line 703, in wrapper",
    "    return callback(**use_params)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\dynatrace_extension\\cli\\main.py\", line 114, in build",
    "    wheel(extension_dir, extra_platforms, extra_index_url, find_links)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\dynatrace_extension\\cli\\main.py\", line 227, in wheel",
    "    run_process(command, cwd=extension_dir)",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\dynatrace_extension\\cli\\main.py\", line 410, in run_process",
    "    return subprocess.run(command, cwd=cwd, env=env, check=True)  # noqa: S603",
    "  File \"C:\\Users\\yosin\\AppData\\Local\\Programs\\Python\\Python310\\lib\\subprocess.py\", line 526, in run",
    "    raise CalledProcessError(retcode, process.args,",
    "subprocess.CalledProcessError: Command '['C:\\\\Users\\\\yosin\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python310\\\\python.exe', '-m', 'pip', 'download', '-d', 'extension/lib', '--only-binary=:all:', '--platform', 'linux_x86_64', '.']' returned non-zero exit status 1.",
    ""
  ],
  "detailedOutput": [
    "+"
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Python is 3.10.11 and pyodbc is 5.1.0&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1726342131261.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22382i8C420B3C77891379/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1726342131261.png" alt="Yosi_Neuman_1-1726342131261.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1726342060512.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22381iC4BA62AFF410A923/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1726342060512.png" alt="Yosi_Neuman_0-1726342060512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Running python code that utilize pyodbc from vscode works with no issue&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion what is wrong here?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 08:45:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/255751#M5139</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-09-16T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not find a version that satisfies the requirement pyodbc</title>
      <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/255752#M5140</link>
      <description>&lt;P&gt;Hi Yos,&lt;/P&gt;&lt;P&gt;I had the same issue and found when you compile your code on windows when it tries to download the Linux module as well it doesn’t find a version supported.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To get around this you need to specific only the windows version by setting the python enviorment to&amp;nbsp;&lt;SPAN&gt;win_amd64 and mine then was able to &amp;nbsp;build and deploy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/settings/#python-environment" target="_self"&gt;https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/settings/#python-environment&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brett&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 20:28:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/255752#M5140</guid>
      <dc:creator>brett_schubach1</dc:creator>
      <dc:date>2024-09-14T20:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not find a version that satisfies the requirement pyodbc</title>
      <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/255754#M5141</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38550"&gt;@brett_schubach1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding win_amd64 to the setting solve the issue !&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1726346605628.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22383iF3B13F74E587DDB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1726346605628.png" alt="Yosi_Neuman_0-1726346605628.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All the best and stay safe&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 20:49:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/255754#M5141</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-09-14T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not find a version that satisfies the requirement pyodbc</title>
      <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292076#M6956</link>
      <description>&lt;P&gt;Hello Brett,&lt;BR /&gt;&lt;BR /&gt;Working on a Dynatrace Python Extension SDK, I intend using &lt;STRONG&gt;pyodbc&lt;/STRONG&gt; Python package.&lt;BR /&gt;I am getting the same output as Yos, and I followed the settings of the VS Code as you and Yos suggested, but unfortunately no changes, no successful build.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_0-1766459801056.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31333i938F7DC01EEC3656/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_0-1766459801056.png" alt="chris_cho_0-1766459801056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I restarted the VS Code, still the same exception output.&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;Error during python build phase: ERROR: Could not find a version that satisfies the requirement &lt;STRONG&gt;pyodbc&lt;/STRONG&gt; (from td-mssqlserver-enrichment) (from versions: none) ERROR: No matching distribution found for pyodbc Traceback (most recent call last): File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code ...&lt;/EM&gt;"&lt;BR /&gt;&lt;BR /&gt;Please, let me know if you have any other workaround.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 03:45:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292076#M6956</guid>
      <dc:creator>chris_cho</dc:creator>
      <dc:date>2025-12-23T03:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not find a version that satisfies the requirement pyodbc</title>
      <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292129#M6957</link>
      <description>&lt;P&gt;You need to build your extension on python 3.10 if you want to use native libraries.&lt;BR /&gt;&lt;BR /&gt;Please take a look at the whl files in your extension lib folder, if they are not targeting python 3.10 for the architecture of the AG/OA you are not using a compatible python version or OS architecture/flag to build the&amp;nbsp; extension&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2025 00:28:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292129#M6957</guid>
      <dc:creator>david_lopes</dc:creator>
      <dc:date>2025-12-24T00:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Could not find a version that satisfies the requirement pyodbc</title>
      <link>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292132#M6958</link>
      <description>&lt;P&gt;All good. I have already used &lt;STRONG&gt;Python 3.10&lt;/STRONG&gt;. Thanks for the reply.&lt;BR /&gt;It looks like something is not working as expected by using the VS Code option &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;EM&gt;Dynatrace extensions: Build&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;, which keeps throwing that exception.&lt;BR /&gt;Instead, I used the command&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;dt-sdk build&lt;/STRONG&gt;&lt;/EM&gt;, downloading and building the dependencies, including &lt;STRONG&gt;pyodbc&lt;/STRONG&gt;, creating the &lt;EM&gt;extension.zip&lt;/EM&gt;, and signing it with stored developer certificate file. Then I used&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Dynatrace extensions: Upload&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;VS Code option, uploading the extension to the tenant. Everything is back on track&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_cho_1-1766536828345.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31339iFB28DF2E70FF8954/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_cho_1-1766536828345.png" alt="chris_cho_1-1766536828345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Dec 2025 00:47:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/ERROR-Could-not-find-a-version-that-satisfies-the-requirement/m-p/292132#M6958</guid>
      <dc:creator>chris_cho</dc:creator>
      <dc:date>2025-12-24T00:47:40Z</dc:date>
    </item>
  </channel>
</rss>

