react app deployment error -Detecting platforms... Platform 'hugo' has been disabled, so skipping detection for it. Error: Platform 'python' version '3.8' is unsupported. Supported versions: Error: Platform 'python' version '3.8' is unsupported. Supporte

Suresh G Nair 0 Reputation points
2024-01-12T10:30:58.4533333+00:00

while deploying a node app by github action following error find in oryx build log -

Detecting platforms...
Platform 'hugo' has been disabled, so skipping detection for it.
Error: Platform 'python' version '3.8' is unsupported. Supported versions: 
Error: Platform 'python' version '3.8' is unsupported. Supported versions:\n/bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20 -p virtualenv_name= --log-file /tmp/build-debug.log  -i /tmp/8dc1357285c6ebd -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log ; exit $PIPESTATUS "
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,470 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,821 Reputation points
    2024-01-13T09:07:38.07+00:00

    Hi @Suresh G Nair , just to confirm - are you using python v 3.8 on azure app service? Developing on Azure requires Python 3.9 or higher. so 3.8 should is not supported. To verify the version of Python on your workstation, in a console window type the command python3 --version for macOS/Linux. Keep in mind Python on Windows is no longer supported. Here are a few potential solutions to resolve this error:

    1. Make sure the Python version you’re using is supported. You might need to upgrade or downgrade your Python version to a supported one.
    2. The Oryx build environment might not support the Python version you’re using. You can check the supported versions in the Oryx documentation or GitHub page
    3. The build command you’re using might not be correct. Make sure you’re using the correct command for your platform and Python version

    Hope that helps.

    Best, Grace

    0 comments No comments

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.