同事mac(intel的cpu)上python3安装cx_Oracle时死活报错“Could not build wheels for cx_Oracle, which is required to install pyproject.toml-based projects”(我M1 pro一条命令就正常安装好了)最后按照官方安装指引在安装前执行“export ARCHFLAGS="-arch x86_64"后安装正常:
export ARCHFLAGS="-arch x86_64"
pip3 install cx_Oracle --upgrade
官方安装指引: