小编Tom*_*ski的帖子

Python 错误:无法为 cx_Oracle 构建轮子,这是安装基于 pyproject.toml 的项目所必需的

我正在尝试安装 cx_Oracle,但收到此错误,\n我安装了最新的 setuptools 和 pip。\n有人遇到过类似的问题吗?他们是如何解决的?

\n

我有 Visual Studio:请参见图片

\n

列出的 Microsoft Visual C++ 可再发行版本

\n
Processing c:\\....resources\\cx_oracle-8.1.0.tar.gz\n  Installing build dependencies ... done\n  Getting requirements to build wheel ... done\n  Preparing metadata (pyproject.toml) ... done\nBuilding wheels for collected packages: cx_Oracle\n  Building wheel for cx_Oracle (pyproject.toml) ... error\n  error: subprocess-exited-with-error\n\n  \xc3\x97 Building wheel for cx_Oracle (pyproject.toml) did not run successfully.\n  \xc2\xa6 exit code: 1\n  ?-> [7 lines of output]\n      C:\\....\\2\\pip-build-env-806_5jc6\\overlay\\Lib\\site-packages\\setuptools\\config\\expand.py:144: UserWarning: File \'C:\\\\....\\\\2\\\\pip-install-r8jb3ohi\\\\cx-oracle_111cfa7e3d91425bb65e9a6baa89c82f\\\\README.md\' cannot be found\n        warnings.warn(f"File {path!r} cannot be found")\n      running bdist_wheel\n      running build\n      running …
Run Code Online (Sandbox Code Playgroud)

python cx-oracle

6
推荐指数
1
解决办法
3万
查看次数

标签 统计

cx-oracle ×1

python ×1