# Python V2 extension plugin failing on upload

**URL:** <https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [April 10, 2024, 8:56am UTC](https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072 "2024-04-10T08:56:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 10, 2024, 8:56am UTC](https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072/1 "2024-04-10T08:56:27Z")

</div>

I am busy migrating one of the Python v 1 plugins to V2. As part of the packages I need to upload I use&nbsp;pymongo ([Client Challenge](https://pypi.org/project/pymongo/))&nbsp;but it is failing with

{&nbsp; “error”: [&nbsp; &nbsp; “Could not find a version that satisfies the requirement pymongo (from mongodbreplication) (from versions: none)”,&nbsp; &nbsp; “ERROR: No matching distribution found for pymongo”,&nbsp; &nbsp; “”&nbsp;],

 ![brett_schubach1_0-1712738736156.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/c/dc6c1091377acc7c6bac3dc2a21b509d5abcb768.png)

All the packages are there as seen in the lib directory and the setup is showing what is required. The issue seems to be with that because I am compiling from my windows machine it is only downloading the pymongo-4.6.3-cp310-cp310-win\_amd64.whl. My activegates are windows so in this case all I need is it to upload this package to the environments.

 ![brett_schubach1_1-1712739075772.png](https://global.discourse-cdn.com/dynatrace/original/2X/c/c86efe00cf49e1c40ea9732a5f0ca09c74481130.png)

I tried adding just win\_amd\_64 to see if that work and still fails.

 ![brett_schubach1_2-1712739266746.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/6/76c5b1cf57194da816cc0138b5d78d5d50e357bd.png)

So how do I force it to either only upload the windows version or download both windows and linux version.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [April 10, 2024, 9:41am UTC](https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072/2 "2024-04-10T09:41:27Z")

</div>

In your second screenshot it looks like the correct one is win\_amd64, while you entered win\_amd\_64 in the third screenshot. Can you adjust it and see if it works?

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 10, 2024, 1:57pm UTC](https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072/3 "2024-04-10T13:57:30Z")

</div>

[@Mike\_L](https://community.dynatrace.com/user/11520)&nbsp;Thank you so much. That did the trick. Maybe the team can update the comment as I copied it from there.

Appreciate the assistance.

 ![brett_schubach1_1-1712757405787.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/a/ba0e9f70f2375377b64e327d318837ef40dfd7e7.png)

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [April 10, 2024, 2:07pm UTC](https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072/4 "2024-04-10T14:07:21Z")

</div>

The values there are the defaults, so adding the default to the default doesn’t make a lot of sense&nbsp;😉 This one library used a custom platform which is why it had to be added.

---

<div class="post-metadata">

**Author:** ![brett\_schubach1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@brett\_schubach1](https://community.dynatrace.com/u/brett_schubach1)\
**Post date:** [April 10, 2024, 3:30pm UTC](https://community.dynatrace.com/t/python-v2-extension-plugin-failing-on-upload/45072/5 "2024-04-10T15:30:13Z")

</div>

Thanks so much. I have now successfully upload my plugin.
