kitti360Scripts icon indicating copy to clipboard operation
kitti360Scripts copied to clipboard

Error CYTHONIZE_EVAL= python setup.py build_ext --inplace

Open Lee-JaeWon opened this issue 1 year ago • 2 comments

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?

Lee-JaeWon avatar Mar 18 '24 03:03 Lee-JaeWon

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.

jxbb233 avatar Jul 20 '24 16:07 jxbb233

@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

Lee-JaeWon avatar Jul 20 '24 17:07 Lee-JaeWon