how to fix error 'subprocess.CalledProcessError: Command '['python', '-m', 'venv', './isolated_env']' returned non-zero exit status 1.'

Sahoo, Anasuya 20 Reputation points
2025-05-06T14:06:06.0566667+00:00

Hi Team,

I am developing an application where it accepts any source code (COBOL, SAP ABAP, Java etc.) and convert that to Python and executes the converted Python code in isolated environment which should be dynamically created during run time. I have deployed the application using Azure App Service. But I am getting attached error while creating isolated environment. Kindly help.Azure Error2.JPG

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

Accepted answer
  1. Alekhya Vaddepally 1,670 Reputation points Microsoft External Staff Moderator
    2025-05-06T16:23:22.0266667+00:00

    Hi Sahoo, Anasuya,

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.