Bootstrap

To search for alternate channels that may provide the conda package you‘relooking for, navigate to

安装记录:

遇到的问题是:

To search for alternate channels that may provide the conda package you're
looking for, navigate to
    https://anaconda.org
and use the search bar at the top of the page.

解决方法:

进入官网查询不能下载的包open3d,然后在conda环境下安装如下命令

conda install -c open3d-admin open3d

测试问题:

安装好了进行测试如下,会遇见报错为缺少module……:

import open3d as o3d   #导入open3d库
import numpy as np    #导入numpy
 
 
points = np.random.rand(10000, 3)
point_cloud = o3d.PointCloud()
point_cloud.points = o3d.Vector3dVector(points)
o3d.draw_geometries([point_cloud])

原因:新版open3d 有些Api进行了更改

open3d.PointCloud() 
改为了

open3d.geometry.PointCloud()

open3d.Vector3dVector()
改为了

open3d.utility.Vector3dVector()

open3d.draw_geometries() 
 改为了

open3d.visualization.draw_geometries()

open3d.voxel_down_sample(pcd,voxel_size)
改为了

pcd.voxel_down_sample(voxel_size) 

 修改之后为:

import open3d as o3d  # 导入open3d库
import numpy as np  # 导入numpy

points = np.random.rand(10000, 3)
point_cloud = o3d.geometry.PointCloud()
point_cloud.points = o3d.utility.Vector3dVector(points)
o3d.visualization.draw_geometries([point_cloud])

结果为:

;