1. package下载错误
1.1 RuntimeError: Ninja is required to load C++ extension
下载KNN-CUDA
pip install --upgrade https://github.com/unlimblue/KNN_CUDA/releases/download/0.2/KNN_CUDA-0.2-py3-none-any.whl
运行时出现错误:RuntimeError: Ninja is required to load C++ extension
参考:zhanghang1989/PyTorch-Encoding
解决方法:
wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
sudo unzip ninja-linux.zip -d /usr/local/bin/
sudo update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force
2. Ubuntu环境下的open3d使用
[Open3D WARNING] GLFW Error: X11: The DISPLAY environment variable is missing
尝试在远程服务器上运行python test.py