【发布时间】:2020-04-01 03:51:31
【问题描述】:
使用 Python3.8 在 Pycharm 中安装 vaex 时出错 在我的 Win-10 64 位上运行它之前,我已经安装在下面:
- cmake v3.15.3
- pep517 v0.8.1
- pip v19.3.1
错误日志:
running build_ext
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=C:\Users\xxxxx\AppData\Local\Programs\Python\Python38\python.exe -G "Visual Studio 14 2015 Win64" -DPYARROW_BOOST_USE_SHARED=on -DCMAKE_BUILD_TYPE=release C:\Users\xxxxx\AppData\Local\Temp\pip-install-g3tufyo5\pyarrow
error: command 'cmake' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly.
任何想法,我错过了什么?
【问题讨论】:
-
cmake在%PATH%中吗?您在什么环境中运行安装? -
对不起,我是新手。我尝试使用 pycharm 并通过命令行进行安装。在 env 变量中,我可以看到这条路径。 C:\Users\xxxxxx\AppData\Local\Programs\Python\Python38
-
这能回答你的问题吗? CMake command is not recognized
-
感谢您提供的信息,但仍有错误。我找到了 cmake 并在 PATH C:\Users\xxxxx\AppData\Local\Programs\Python\Python38\Lib\site-packages\cmake\data\bin 中添加了环境变量现在,得到不同的错误:--选择 Windows SDK 版本以 Windows 10.0.18362 为目标。 CMakeLists.txt:22 处的 CMake 错误(项目):无法运行 MSBuild 命令:MSBuild.exe 获取 VCTargetsPath 的值:系统找不到指定的文件
-
目前有用于 Arrow 的 Python 3.8 轮子,最好目前使用 Python 3.7 并等待 1-2 个月让 3.8 轮子出现,而不是与 CMake 作斗争。
标签: python cmake pyarrow python-3.8 vaex