daavoo / pyntcloud

pyntcloud is a Python library for working with 3D point clouds.
http://pyntcloud.readthedocs.io
MIT License
1.39k stars 221 forks source link

pyntcloud import error #268

Closed JoonHyup closed 4 years ago

JoonHyup commented 4 years ago

Hello! I got an error when I type 'from pyntcloud import PyntCloud' as below Please help me how to solve it.

OS : Ubuntu Linux 16.04 Python : 3.5.2

from pyntcloud import PyntCloud Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/pyntcloud/init.py", line 1, in from .core_class import PyntCloud File "/usr/local/lib/python3.5/dist-packages/pyntcloud/core_class.py", line 8, in from .io import FROM_FILE, TO_FILE, FROM_INSTANCE, TO_INSTANCE File "/usr/local/lib/python3.5/dist-packages/pyntcloud/io/init.py", line 1, in from pyntcloud.io.open3d import from_open3d, to_open3d File "/usr/local/lib/python3.5/dist-packages/pyntcloud/io/open3d.py", line 13 raise TypeError(f"Type {type(o3d_data)} not supported for conversion." ^ SyntaxError: invalid syntax

daavoo commented 4 years ago

Hola @JoonHyup ! pyntcloud currently requires a Python version >= 3.6.

The error is not realling telling so I would try to add an explicit exception for the Python version requirement.

soulslicer commented 3 years ago

is there a version of pyntcloud that supports 3.5?