autonomousvision / kitti360Scripts

This repository contains utility scripts for the KITTI-360 dataset.
MIT License
390 stars 64 forks source link

Error CYTHONIZE_EVAL= python setup.py build_ext --inplace #116

Open Lee-JaeWon opened 8 months ago

Lee-JaeWon commented 8 months ago

I configured that repository with Python 3.6 and followed the instructions in the README. But, I got the following error

CSUPPORT is required for unwrapping the velodyne data!
Run ``CYTHONIZE_EVAL= python setup.py build_ext --inplace`` to build with cython

I followed the above command and it seems to build, but I keep getting that error and it won't import.

I need more precise instructions on configuring something. What am I missing?

jxbb233 commented 4 months ago

I had a similar issue and found a solution (though it might not be foolproof). Navigate to your local project directory and run pip install -e . after executing the command you mentioned. This should let you import the curlVelodyneData module without any issues.

Lee-JaeWon commented 4 months ago

@jxbb233

Thanks for the answer!

I solved it in the following way.

  1. CYTHONIZE_EVAL=1 python setup.py build_ext --inplace
  2. python setup.py install