Closed eiffelbastin closed 2 years ago
I've checked that. If the python version is 3.x, pypcd from pip install is not working.
whats the solution u suggest?? run with a lower version of py ? Or some otherway to install pypcd instead of pip?
Currently I'm trying to solve this issue with Python 3.x. You have to install pypcd from github https://github.com/dimatura/pypcd
from pypcd import pypcd work for me
@laiyingxin2 Thanks alot!
from pypcd import pypcd work for me
which version of python were you using?
I use version python 3.7
I am using python3 version 3.9.12 and from pypcd import pypcd
gave me an error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ghanim/anaconda3/lib/python3.9/site-packages/pypcd/pypcd.py", line 15, in <module>
import cStringIO as sio
ModuleNotFoundError: No module named 'cStringIO'
and apparently the cStringIO is replaced for later versions of python3 by StringIO in module io. So a work around is needed here.
don't use pypcd, and change to open3d! pypcd has too many problems!
hey buddy I'm getting this trackback while running the code... pls see if u can help
thanks in advance :)
Finish to load point clouds! Finish to generate csv meta file Converting Start! 0%| | 0/1 [00:00<?, ?it/s] Traceback (most recent call last): File "pcd2bin.py", line 112, in <module> main() File "pcd2bin.py", line 84, in main pc = pypcd.PointCloud.from_path(pcd_file) AttributeError: module 'pypcd' has no attribute 'PointCloud'