azureazure-batchazure-batch-account

Azure Batch - Getting this error "Value":"%1 is not a valid Win32 application


I'm trying to execute my python code in Azure Batch which pulls data from Adobe Analytics API. The code successfully runs in my local machine, not sure about the configuration in the pool in Az_Batch.

AZ_Batch Error

{"errorCategory":0,"code":"CommandLaunchFailed","message":"Failed to launch the specified command line","details":[{"Name":"Message","Value":"%1 is not a valid Win32 application."}]}

Could anyone please help me!!

Az_Batch Libraries installed Libraries installed locally

Environment Screenshot Libraries Screenshot


Solution

  • "Value":"%1 is not a valid Win32 application

          pip uninstall pywin32
    

    The above command will remove the existing one which is by default for 32 bit computers. and again install pywin

          pip install pywin32