I'm trying to an example code in my vsc editor. However, I got the AttributeError: module 'open3d' has no attribute 'PointCloud'error. I looked how to fix this problem but none of those are worked. Looking for any help. I'm using Win10 and Python 3.8. Thanks in advance
import open3d as o3d
import numpy as np
pc_array = np.array([[1, 2, 3], [3, 4, 5]], dtype=np.float32)
print(pc_array)
pc = o3d.PointCloud()
pc.points = o3d.Vector3dVector(pc_array)
print(pc)