Regarding not being able to deploy the project in Azure which is connected to Github

Anonymous
2025-01-22T17:09:36+00:00

Hello,

I have a Django project which I uploaded to GitHub first and then tried to connect to Azure.

The build process has been successful as per the Action tab in GitHub.
But the process gets to the Deploy part, it takes around 30 minutes and then provide me with the warning as:

"2025-01-22 15:48:10"|WARNING|Missing Django module in /tmp/8dd3afa6c264451/requirements.txt | Exit code: 0 | Add Django to your requirements.txt file. | More information: https://aka.ms/troubleshoot-python
Not a vso image, so not writing build commands

After this the execution stops and the deployment fails

When I pushed the code along with requirements.txt, the django with the version 4.2.17 has been included.

With this version of Django and the python version of 3.11.8 , the project worked perfectly fine in the local machine.

But it doesn't work during the deployment.

This is the error that I got in GitHub after failed deployment

Build Summary : ===============Errors (0)Warnings (1)1. Missing Django module in /tmp/8dd3b0152f8cf5c/requirements.txtNext Steps: Add Django to your requirements.txt file.

I am looking for the help.

Thanks.

Windows for business | Windows Server | Windows cloud | Deploy Azure Local

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-23T07:42:56+00:00

    Hello Sakar Dahal,

    Thank you for posting in Microsoft Community forum.

    From the description above, I understand your question is related to Azure Stack HCI.

    Since there are no engineers dedicated to Azure Stack HCI in this forum. in order to be able to get a quick and effective handling of your issue, I recommend that you repost your question in the Q&A forum, where there will be a dedicated engineer to give you a professional and effective reply.

    Here is the link for Q&A forum.
    Questions - Microsoft Q&A

    Click the "Ask a Question" button in the upper right corner to post your question and type "Azure Stack HCI" tag and select any tags related to your productions.

    I hope the information above is helpful.

    If you have any question or concern, please feel free to let us know.

    Best Regards,
    Daisy Zhou

    0 comments No comments