isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.42k stars 2.3k forks source link

Failed to find service port for display #1673

Open TimingSpace opened 4 years ago

TimingSpace commented 4 years ago

Describe the bug On mac OS,10.15.1 Failed to find service port for display when trying to visualize a ply file.

To Reproduce Steps to reproduce the behavior: xzy = np.random.random((100,3))*10 pcd = o3d.geometry.PointCloud() pcd.points = o3d.utility.Vector3dVector(xyz) o3d.visualization.draw_geometries([pcd])

then

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: [Open3D ERROR] GLFW Error: Cocoa: Failed to find service port for display

Expected behavior Expected to visualize the point cloud

Environment (please complete the following information):