# Blocking Error with charset\_normalizer in a Dynatrace Custom Extension on a Linux ActiveGate

**URL:** <https://community.dynatrace.com/t/blocking-error-with-charset-normalizer-in-a-dynatrace-custom-extension-on-a-linux-activegate/46307>\
**Category:** Extensions\
**Tags:** linux, activegate, python, extensions\
**Created:** [June 26, 2024, 3:40am UTC](https://community.dynatrace.com/t/blocking-error-with-charset-normalizer-in-a-dynatrace-custom-extension-on-a-linux-activegate/46307 "2024-06-26T03:40:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gusmazeikis](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@gusmazeikis](https://community.dynatrace.com/u/gusmazeikis)\
**Post date:** [June 26, 2024, 3:40am UTC](https://community.dynatrace.com/t/blocking-error-with-charset-normalizer-in-a-dynatrace-custom-extension-on-a-linux-activegate/46307/1 "2024-06-26T03:40:20Z")

</div>

**Current Setup:**

- Dynatrace Managed version 1.286.86
- Environment ActiveGate 1.285.30.20240227-095656 (OS Linux, x86, 64bit)
- Extensions 1.285.161.20240417-193840
- Python extension 2.0, developed in VsCode 1.90.0&nbsp;(user setup),&nbsp; OS: Windows\_NT x64 10.0.19045
  - Python version: 3.10
  - Pip version: 24.0
  - Current library used: charset\_normalizer-3.3.2-cp310-cp310-win\_amd64.whl (Windows-specific)

**Observed Error** :

- /var/lib/dynatrace/remotepluginmodule/log/extensions/ruxitagent\_extensionsmodule\_3086451.0.log

**ERROR: Could not find a version that satisfies the requirement charset-normalizer\<4,\>=2 (from requests) (from versions: none)**

**Possible Explanation:** The error is likely due to using the Windows-specific Wheel file charset\_normalizer-3.3.2-cp310-cp310-win\_amd64.whl on a Linux system. This incompatibility causes the extension to fail.

**Proposed Solution:** Use a platform-agnostic version of the library. It is suggested to use charset\_normalizer-3.3.2-py3-none-any.whl, which should be compatible with both Windows and Linux environments.  
[custom\_extension\_error.txt](https://community.dynatrace.com/uploads/short-url/ubXJTRBxjqWjSiHt3U8qmM5kWPK.txt) (2.85 KB)  
[custom\_extension\_libraries.txt](https://community.dynatrace.com/uploads/short-url/ni3CMYN0C3DxrfyHLQc0WHYPPX.txt) (848 Bytes)

---

<div class="post-metadata">

**Author:** ![david\_lopes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/david_lopes/32/27273_2.png) [@david\_lopes](https://community.dynatrace.com/u/david_lopes)\
**Post date:** [June 26, 2024, 7:15pm UTC](https://community.dynatrace.com/t/blocking-error-with-charset-normalizer-in-a-dynatrace-custom-extension-on-a-linux-activegate/46307/2 "2024-06-26T19:15:10Z")

</div>

By default pip will not use that cross-os compatible version, but the SDK already has a solution for that, we download both versions (windows and linux) when building

Please see [here](https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/building.html) and [here](https://developer.dynatrace.com/extensions-v2/dynatrace-extensions-vscode/settings/#python-environment)

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [September 4, 2025, 9:09am UTC](https://community.dynatrace.com/t/blocking-error-with-charset-normalizer-in-a-dynatrace-custom-extension-on-a-linux-activegate/46307/3 "2025-09-04T09:09:47Z")

</div>

Hi guys,

Any one knows how to use&nbsp; **dt-sdk build --extra-platform manylinux2014\_x86\_64** from vscode?

Thanks in advance

Yos

---

<div class="post-metadata">

**Author:** ![david\_lopes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/david_lopes/32/27273_2.png) [@david\_lopes](https://community.dynatrace.com/u/david_lopes)\
**Post date:** [October 14, 2025, 2:21pm UTC](https://community.dynatrace.com/t/blocking-error-with-charset-normalizer-in-a-dynatrace-custom-extension-on-a-linux-activegate/46307/4 "2025-10-14T14:21:55Z")

</div>

There is an item in the vscode settings called “Dynatrace Extensions: Python Extra Platforms”

You add “ **manylinux2014\_x86\_64** ” to that list

 ![david_lopes_0-1760451742879.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/9/592d953ae8ef093600fd6e5c8ff512d5d0fd7201.png)
