当前位置: 首页 > 工具软件 > tom-toml > 使用案例 >

mac python3安装cx_Oracle报错required to install pyproject.toml-based projects解决

高夜洛
2023-12-01

同事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

官方安装指引:

cx_Oracle 8 Installation — cx_Oracle 8.3.0 documentation

 类似资料: