# Custom extension migration framework

**URL:** <https://community.dynatrace.com/t/custom-extension-migration-framework/48668>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [November 1, 2024, 3:47pm UTC](https://community.dynatrace.com/t/custom-extension-migration-framework/48668 "2024-11-01T15:47:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Julien](https://community.dynatrace.com/u/Julien)\
**Post date:** [November 1, 2024, 3:47pm UTC](https://community.dynatrace.com/t/custom-extension-migration-framework/48668/1 "2024-11-01T15:47:27Z")

</div>

Hello,

Due to the demise of the framework 1.0, I have to migrate an old custom extension not develop by me.

I follow this documentation:&nbsp;[https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/guides/migrate/python-migrate/](https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/guides/migrate/python-migrate/)

But it failed at this step:

1. Choose the&nbsp;Python Extension 2.0&nbsp;project type.

With this message:&nbsp;Unexpected error: ‘dt-sdk’ is not recognized as an internal or external command, operable program or batch file.

I already done the python package installation:&nbsp;[Dynatrace Extensions SDK for Python — dt-sdk 1.0.0 documentation](https://dynatrace-extensions.github.io/dt-extensions-python-sdk/index.html)

But still have the issue to use&nbsp;dt-sdk

Do you know what is missing ?

Env info:

Python version: 3.12.6

#pip show dt-extensions-sdk  
Name: dt-extensions-sdk  
Version: 1.2.5  
Summary:  
Home-page:  
Author:  
Author-email: dlopes7 [davidribeirolopes@gmail.com](mailto:davidribeirolopes@gmail.com)  
License:  
Location: C:\*\*\*\*\*  
Requires:  
Required-by:

---

<div class="post-metadata">

**Author:** ![rishabhsingh](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@rishabhsingh](https://community.dynatrace.com/u/rishabhsingh)\
**Post date:** [December 2, 2024, 3:20pm UTC](https://community.dynatrace.com/t/custom-extension-migration-framework/48668/2 "2024-12-02T15:20:16Z")

</div>

Hi Julien,

Did you find any solution for this ?

---

<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:** [December 2, 2024, 9:23pm UTC](https://community.dynatrace.com/t/custom-extension-migration-framework/48668/3 "2024-12-02T21:23:15Z")

</div>

That means dt-sdk is not in your PATH on windows

---

<div class="post-metadata">

**Author:** ![Julien](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Julien](https://community.dynatrace.com/u/Julien)\
**Post date:** [March 10, 2025, 2:31pm UTC](https://community.dynatrace.com/t/custom-extension-migration-framework/48668/4 "2025-03-10T14:31:38Z")

</div>

Hi,

Finally find a solution as it’s more complicated to do it in my company.

So the dynatrace framework 2.0 is working only with a python 3.10 version.

And plus, to solve my issue, I created a python venv.
