pip 不支持安装cuda版本的open3d,因此需要手动编译open3D源码
Windows
1. Setup Python binding environments
Most steps are the steps for Ubuntu: 2. Setup Python environments. Instead of which, check the Python path with where python.
2. Config
mkdir build
cd build
:: Specify the generator based on your Visual Studio version
:: If CMAKE_INSTALL_PREFIX is a system folder, admin access is needed for installation
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX="<open3d_install_directory>" ..
3. Build
你可以使用以下代码导入open3d的registration模块:
```python
import open3d as o3d
# 导入registration模块
from open3d.registration import *
```
这样就可以使用registration模块中的函数了。