Install Pyrealsense2 on Ubuntu18.04
https://blog.csdn.net/qq_22598167/article/details/89948089https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python1.github上下载最新librealsense包2.cd librealsensemkdir builde &...
·
https://blog.csdn.net/qq_22598167/article/details/89948089
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python
1.github上下载最新librealsense包
2.cd librealsense
mkdir builde && cd build
cmake-gui
配置
make -j8
make install
3.Alternatively, copy the build output (librealsense2.so and pyrealsense2.so) to python_root
- Note: Python 3 module filenames may contain additional information, e.g. pyrealsense2.cpython-35m-arm-linux-gnueabihf.so)
4.activate一个conda环境
pip3 install pyrealsense2
5.(!!!重要 !!!)update your PYTHONPATH environment variable to add the path to the pyrealsense library
export PYTHONPATH=$PYTHONPATH:/root/anaconda3/lib/
更多推荐
已为社区贡献3条内容
所有评论(0)