编译Open3D找不到Python3.

问题遇到的现象和发生背景

编译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.

img

我的解答思路和尝试过的方法

添加了环境变量但是没用。

Wrong architecture for the interpreter的意思是python解释器的位数错误。
先检查open3d是32位还是64位, 再检查python解释器是是32位还是64位的, 两者位数要保持一致。

方法: 直接双击 python.exe, 如果开头的消息出现了AMD64, 就是64位, 否则是32位。
如果有帮助, 点个「采纳」谢谢。