Cx_oracle Module Windows installation

Source: Internet
Author: User

November 2, 2016

The installation process error Date:

Windows Version installation method

Install the Cx_oracle module for Python import:

My Python is a 32-bit version of 2.7

1, download instantclient_12_1 must choose 32-bit

Http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

This address needs to be registered, it may take a while, I was previously registered

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/B0/wKiom1gZu4mgihoiAAC0fKj-pNI838.png-wh_500x0-wm_3 -wmp_4-s_3445104051.png "title=" 1.png "alt=" Wkiom1gzu4mgihoiaac0fkj-pni838.png-wh_50 "/>

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/AD/wKioL1gZu7zAjmeHAAB-qICIKC0923.png-wh_500x0-wm_3 -wmp_4-s_3916199810.png "title=" 1.png "alt=" Wkiol1gzu7zajmehaab-qicikc0923.png-wh_50 "/>

Unzip, preferably put in the English directory of Windows, and put its decompression path in path, it is best to put the variables in the front

According to what I said can avoid a lot of error, I this is handled for a long time to sum up.

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/89/AD/wKioL1gZvBnimq1pAAC_T3zg7ds401.png-wh_500x0-wm_3 -wmp_4-s_1904850493.png "title=" 1.png "alt=" Wkiol1gzvbnimq1paac_t3zg7ds401.png-wh_50 "/>

Path variable, I copied it directly.

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/B0/wKiom1gZvELxULSFAAB-X6t2kLo765.png-wh_500x0-wm_3 -wmp_4-s_218074566.png "title=" 1.png "alt=" Wkiom1gzvelxulsfaab-x6t2klo765.png-wh_50 "/>

2, download cx_oracle, the same, must choose 32-bit, otherwise it will be reported abnormal, not 32-bit effective program exception.

https://pypi.python.org/pypi/cx_Oracle/5.2.1

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/B0/wKiom1gZvfWyapyUAAEgysrTcyA894.png-wh_500x0-wm_3 -wmp_4-s_1794294495.png "title=" 1.png "alt=" Wkiom1gzvfwyapyuaaegysrtcya894.png-wh_50 "/>

You can install it directly by clicking on it.


Summary: The selection of the installation package is really important, too important. The number of digits to the right, the version of the system to be right, we have to be careful

Import comes in without exception. That means it's a success.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/89/AE/wKioL1gZvmLR_ZeOAAB6Ih8xiZk474.png-wh_500x0-wm_3 -wmp_4-s_2011384849.png "title=" 1.png "alt=" Wkiol1gzvmlr_zeoaab6ih8xizk474.png-wh_50 "/>

In Pycharm

The module can also be installed here.


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/89/AE/wKioL1gZv1XRsP37AALOXwxXPbE900.png-wh_500x0-wm_3 -wmp_4-s_863307103.png "title=" 1.png "alt=" Wkiol1gzv1xrsp37aaloxwxxpbe900.png-wh_50 "/>

Cx_oracle Module Windows installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.