[Environment configuration] Pycharm connects to the cloud server using notes

1. Package download error

1.1 RuntimeError: Ninja is required to load C++ extension

Download KNN-CUDA

pip install --upgrade https://github.com/unlimblue/KNN_CUDA/releases/download/0.2/KNN_CUDA-0.2-py3-none-any.whl

An error occurred during runtime: RuntimeError: Ninja is required to load C++ extension
Reference: zhanghang1989/PyTorch-Encoding
Solution:

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. Use of open3d in Ubuntu environment

[Open3D WARNING] GLFW Error: X11: The DISPLAY environment variable is missing

Try running python test.py on the remote server

Guess you like

Origin blog.csdn.net/Kandy0125/article/details/122192570