我要评分
获取效率
正确性
完整性
易理解

Installing pybind11

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to decompress the pybind11 installation package:
    cd /path/to/PYBIND11
    tar -xvf pybind11-2.6.2.tar.gz
  3. Run the following command to go to the directory generated after decompression:
    cd pybind11-2.6.2
  4. Run the following commands to perform the compilation:
    mkdir /path/to/PYBIND11/build
    cmake -H. -B/path/to/PYBIND11/build -DCMAKE_INSTALL_PREFIX=/path/to/PYBIND11/install
  5. Run the following commands to perform the installation:
    cd /path/to/PYBIND11/build
    make -j
    make install