Error when using Dynatrace Extensions: Build in VS Code — copying between tenants

Hello Folks,

I want to copy a custom extension build from one tenant to another. What are the available ways to do that?
I tried using Dynatrace Extensions: Build in Visual Studio Code, but it produced the following error:

{
  "error": [
    "'dt-sdk' is not recognized as an internal or external command,",
    "operable program or batch file.",
    ""
  ],
  "detailedOutput": [
    "+"
  ]
}

Regards,
AK

@AK ,

If you have the ZIP extension file, just upload it to the new tenant. Don’t forget to setup the certificate files, as I’m assuming it’s a custom extension of course.

@AntonioSousaThank you for your response. Unfortunately, I don’t have the ZIP extension — it was co-developed with Dynatrace support.

Regards,
AK

You probably need to install dt-extensions-sdk first. 

@rastislav_danis I’ve installed it and can confirm it’s present, yet I’m still getting the same error.

just guessing, but have you tried launching dt-sdk from vscode terminal? is path to this command included in path variable?

Thanks @rastislav_danis, adding dt-sdk PATH to variable worked

I think you should familiarize yourself with Python virtual environments and how they work. A good starting point is this guide: https://realpython.com/python-virtual-environments-a-primer/. (TLDR)
Alternatively, you can ask your AI assistant to explain virtual environments and help you use them correctly. I can see that you already have one set up in your project.