Oracle python link

Recently, there is a demand to use Oracle's data to a web page, so he thought with a python to make trouble, I thought pip install cx_Oracle click on it, did not expect to encounter much difficulty.

Little to do record it:

python installation, oracle installation must get ahead in this skip

process:

  1.win + r enter cmd

  2.pip install cx_Oracle

    ### Then, my error 64-bit Oracle Client library can not be loaded 

  3. Download instantclient-basic 64 bit decompressed after downloading into the installation of python: E: \ python \ python \ instantclient_11_2

  4. Set the environment variable path: E: \ python \ python \ instantclient_11_2; Note: You must add back; separated (win10 do not ";")

  5. After you configure the environment variable, restart pycharm, run the project, the problem is solved

Guess you like

Origin www.cnblogs.com/pupilheart/p/10955839.html