I am getting following error.i download oracle client and provide neccesary path to env varibles
<blockquote>
  <blockquote>
    <blockquote>
      <p>import cx_Oracle
      Traceback (most recent call last):
      File "", line 1, in 
      ImportError: DLL load failed: %1 is not a valid Win32 application.</p>
    </blockquote>
  </blockquote>
</blockquote>

<p>I'll list the things that you need to check.</p>

<p>1) An Oracle client is required. The easiest to use is the Oracle instant client which you can get from this location: <a href="http://www.oracle.com/technetwork/database/features/instant-client/index.html" rel="nofollow">http://www.oracle.com/technetwork/database/features/instant-client/index.html</a></p>

<p>2) If Python is 64-bit, the Oracle client needs to be 64-bit and cx_Oracle needs to be 64-bit. If Python is 32-bit, the Oracle client needs to be 32-bit and cx_Oracle needs to be 32-bit. You can't mix and match!</p>

<p>3) The client needs to be in the PATH environment variable. No other environment variables (like ORACLE_HOME) should be set.</p>

<p>You can use the "depends" tool (<a href="http://www.dependencywalker.com/" rel="nofollow">http://www.dependencywalker.com/</a>) to help determine why Windows is refusing to load that DLL.</p>

python django oracle10g cx-oracle instantclient