简体   繁体   中英

ModuleNotFoundError: No module named 'cx_Oracle' spyder

I want to connect Python 3.6 (Spyder) to Oracle . When connecting I get the error as

ModuleNotFoundError: No module named 'cx_Oracle'

I'm assuming you already tried pip3 install cx_Oracle ? If you're on a mac and have done this and still receiving ModuleNotFoundError then try pip3 install --user cx_Oracle . To confirm the module is installed run pip3 freeze to list all python3 modules currently installed.

Just run the following command in Anaconda prompt conda install cx_oracle , should work now. I found it here

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