0

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

Immanuel
  • 5
  • 2

1 Answers1

0

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

  • Please verify that the version of Python whether you are using 32 or 64 bit. If not, that might be the problem. if you would have install 64 bit binaries for the library while running a 32-bit version of Python.

  • Also Update NumPy.

    'pip install numpy --upgrade

  • Use the pip method uninstall the pywin32 :

      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
  • Check with path environment variables whether it is in correct path or is it in messed up, this could be one of the error you can faced.
Venkatesan
  • 3,748
  • 1
  • 3
  • 15
  • Thank you for the reply. I have re-installed it again but still receiving the same error. :( – Immanuel Jul 28 '22 at 05:15
  • Have you checked the path environment variables is in correct method and also check this [Document](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/batch/tutorial-run-python-batch-azure-data-factory.md) – Venkatesan Jul 28 '22 at 05:49
  • I have none in the Environment Settings, its empty. I have inserted the screenshots of the environment and the libs in my original post. – Immanuel Jul 28 '22 at 06:52
  • Issue fixed, i reinstalled all the libraries!!! Thank you so much for the help – Immanuel Jul 29 '22 at 13:51