编译Open3D过程中提示找不到Python3,但是已经安装。
Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) (found suitable version "3.6.8", minimum required is "3.6")
Reason given by package:
Interpreter: Wrong architecture for the interpreter "F:/SoftWare/Python/install/python.exe"
CMake Error at CMakeLists.txt:323 (message):
BUILD_PYTHON_MODULE=ON requires Python >= 3.6. Please ensure it is in
PATH.
添加了环境变量但是没用。
Wrong architecture for the interpreter
的意思是python
解释器的位数错误。
先检查open3d
是32位还是64位, 再检查python
解释器是是32位还是64位的, 两者位数要保持一致。
方法: 直接双击 python.exe
, 如果开头的消息出现了AMD64
, 就是64位, 否则是32位。
如果有帮助, 点个「采纳」谢谢。