# Python 2.0 extension

**URL:** <https://community.dynatrace.com/t/python-2-0-extension/46453>\
**Category:** Extensions\
**Tags:** python, extensions\
**Created:** [July 3, 2024, 7:21pm UTC](https://community.dynatrace.com/t/python-2-0-extension/46453 "2024-07-03T19:21:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![subashsagi41](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@subashsagi41](https://community.dynatrace.com/u/subashsagi41)\
**Post date:** [July 3, 2024, 7:21pm UTC](https://community.dynatrace.com/t/python-2-0-extension/46453/1 "2024-07-03T19:21:43Z")

</div>

Hi,

I recently tried to create a python based extension, and everything went fine, resolved many issues but during the deployment I see the below messages in the log file

```auto
<em>2024-07-03 19:18:18.245 UTC [0000049c] info [native] Rejected fastcheck for task f_7232207845354319405236535 -</em><br><em>2024-07-03 19:18:18.599 UTC [000003a9] info [native] Fastcheck f_7232207812345245236535 for datasource python ended with code -1: N/A</em>

```

Also I see this message, not sure if it is a warning or error as it is confusing.

```auto
<em> error: WARNING: pyjwt 1.1.0 does not provide the extra 'crypto'</em>

```

But in other line it mentioned that the versions are satisfied

```auto
Requirement already satisfied: PyJWT<2,>=1.0.0 in /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_dt-gen2-powerbi-utility_0.0.1/lib/python3.10/site-packages (from PyJWT[crypto]<2,>=1.0.0->msal->dt_gen2_powerbi_utility) (1.1.0)

```

Also in the console it printed below error message

“ **Failed to assign monitoring configuration to ActiveGate. Reason:** ”

But no Reason was provided.

All worked locally with the VSCODE extension but failed during the activation.

Any help would be highly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![yniasreynders96](https://avatars.discourse-cdn.com/v4/letter/y/ee7513/32.png) [@yniasreynders96](https://community.dynatrace.com/u/yniasreynders96)\
**Post date:** [July 24, 2024, 12:27pm UTC](https://community.dynatrace.com/t/python-2-0-extension/46453/2 "2024-07-24T12:27:37Z")

</div>

Hello,

I’ve come accross the same issue, are there any updates on this?

Kind regards

---

<div class="post-metadata">

**Author:** ![subashsagi41](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@subashsagi41](https://community.dynatrace.com/u/subashsagi41)\
**Post date:** [July 24, 2024, 12:35pm UTC](https://community.dynatrace.com/t/python-2-0-extension/46453/3 "2024-07-24T12:35:18Z")

</div>

Workaround for me was to avoid msal and azure-identity&nbsp; libraries and used only requests module to make it run.
