PyCharm 安装 cx

编程入门 行业动态 更新时间:2024-10-28 17:25:15

<a href=https://www.elefans.com/category/jswz/34/1769972.html style=PyCharm 安装 cx"/>

PyCharm 安装 cx

我在PyCharm的终端用 pip安装cx_Oracle失败,报错情况如下:

ERROR: Could not build wheels for cx_Oracle, which is required to install pyproject.toml-based projects

出错原因:

python 的版本太高了,我的是3.11版本的,但是实际上,cx_Oracle能匹配到的最高的python版本是3.10

注:能与cx_Oracle相匹配的python版本(3.6-3.10),可参考链接cx-Oracle · PyPI

解决步骤:

① 下载个python 3.8.0  替换一下 3.11

② 重新用pip安装cx_Oracle

   

     pip install cx_Oracle

希望我的方法可以帮助到您~  感谢关注!!

更多推荐

PyCharm 安装 cx

本文发布于:2023-12-03 12:24:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1655318.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:PyCharm   cx

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!