美文网首页
在Ubuntu16上面安装open3d Python库的简单方法

在Ubuntu16上面安装open3d Python库的简单方法

作者: JOHNNYHU_a1f5 | 来源:发表于2020-12-15 18:37 被阅读0次

    最新版本的open3d要求Ubuntu的版本是18,Ubuntu16是不支持的,不过最近发现一个可以在Ubuntu16上运行open3d的方法,很简单:

    执行

    pip install open3d-python

    我的Python版本是3.7 anaconda版

    安装后要显示stl 3d文件,只需要运行:

    In [8]: import open3d as o3d

    In [9]: my_mesh = o3d.io.read_triangle_mesh('cube.stl')                       

    Reading STL: [========================================] 100%

    In [10]: o3d.visualization.draw_geometries([my_mesh])     

    即可显示。

    估计这个是比较旧版本的open3d,也是不得已为之,如果可以的话还是使用最新版比较好。

    相关文章

      网友评论

          本文标题:在Ubuntu16上面安装open3d Python库的简单方法

          本文链接:https://www.haomeiwen.com/subject/kqnwgktx.html