daavoo / pyntcloud

pyntcloud is a Python library for working with 3D point clouds.

Home Page:http://pyntcloud.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Point cloud cannot be displayed successfully

wzy19950426 opened this issue · comments

I use jupyter-lab and cannot successfully show that the point cloud has only a string of prints. I don't know if it is because of the code or because of a problem with the environment of jupyter-lab.
I want to show pointcloud but it just give me like this prints no pointcloud view:

Renderer(camera=PerspectiveCamera(aspect=1.6, fov=90.0, position=(0.008728588931262493, 1.520455745747313, 10.…
HBox(children=(Label(value='Point size:'), FloatSlider(value=0.001, max=0.01, step=1e-05), Label(value='Backgr…

Can you give me some advice,thanks very much.

Hola. It seems like an issue with the jupyter lab environment. Please check the comments in #187 to see if your problem is related with that.

Thank you for your reply.Point clouds can be displayed normally in notbook.But not in the lab, only 2d pictures can be displayed in the lab.

but when I execute command 'jupyter labextension install @jupyter-widgets/jupyterlab-manager' and 'jupyter lab build' give me the same error:'NameError: name 'CoreConfig' is not defined'
I used Ubuntu16.04

It looks like there is an issue with the nodejs version installed. See:

quigleyj97/jupyterlab-spreadsheet#19

Following the comments, could you run:

conda install -c conda-forge nodejs

To see if that uptades your node version and resolves the problem?

I updated nodejs to the latest,And successfully executed:
'jupyter labextension install @jupyter-widgets/jupyterlab-manager'.
Now its different befor.its succellfully display buttons:
'Point size:-------------- 0.01' and 'Background color: black'
but there is still no pointcloud its show me the error:
'Error displaying widget: model not found'.

tegra-ubuntu:~$ jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
app dir: /usr/local/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
jupyterlab-datawidgets v6.2.0 enabled OK

I updated nodejs to the latest,And successfully executed:
'jupyter labextension install @jupyter-widgets/jupyterlab-manager'.
Now its different befor.its succellfully display buttons:
'Point size:-------------- 0.01' and 'Background color: black'
but there is still no pointcloud its show me the error:
'Error displaying widget: model not found'.

tegra-ubuntu:~$ jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
app dir: /usr/local/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
jupyterlab-datawidgets v6.2.0 enabled OK

I also have the same issue - extension is enabled, and shows basic controls but plotting fails with message "Error displaying widget: model not found"