Question: 1 is not a valid win32 application in python?
Answer: Please make sure that you have installed python 2.7. 12 or below version otherwise you will get this error definitely.
Make sure Oracle client is 64 bit installed if OS is 64 Bit.
Make sure Microsoft Visual C++ Compiler for Python 2.7 is 64 for bit for 64 bit Os or 32 bit for 32 bit.