简体   繁体   中英

issue in locating cx_oracle python package files/directory

I installed cx_Oracle python package using pycharm's package installer. It installed successfully and also works perfectly. The installed directory for the package is shown as c:\\program files(x86)\\python36-32\\lib\\site-packages\\ . When I go to this directory I do not see the package directory for cx_Oracle . I only see following two related to cx_Oracle - cx_Oracle-6.0.1.dist-info directory and cx_Oracle.cp36-win32.pyd file. For other packages I see package directory as well as a info directory but for cx_Oracle I see only the info directory.

Where does the package directory for cx_Oracle is present?

file cx_Oracle.cp36-win32.pyd is the cx_Oracle module itself. When You imports cx_Oracle in Your Python program, Python interpreter loads this pyd (which is de facto a dll library linked against python36.dll) and calls functions from this Python "module". cx_Oracle has no more files (ie cx_Oracle.py(o|c)) like other modules.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM