I got a mistake of python binding compilation(use suggested method of build.sh). I can import commonroad_dc after compilation but can’t import commonroad_dc.pycrcc.
Python 3.6.8 (default, Jan 14 2019, 11:02:34)
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import commonroad_dc
>>> import commonroad_dc.pycrcc
Traceback (most recent call last):
- File “”, line 1, in *
ModuleNotFoundError: No module named ‘commonroad_dc.pycrcc’
I have saved the messages that was printed on screen as the attachment called printed msg.txt(the most important message is in line 3145 which I show as below red text). Also I copied the CMakeOutput.log from my build folder. But I can’t upload these texts here.
Building drivability checker…
– The C compiler identification is GNU 7.5.0
– The CXX compiler identification is GNU 7.5.0
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found PythonInterp: /home/sunyishen/commonroad-drivability-checker/venv/bin/python3.6m (found version “1.4”)
CMake Error at third_party/pybind11/tools/FindPythonLibsNew.cmake:96 (message):
- Python config failure:*
Call Stack (most recent call first):
-
third_party/pybind11/tools/pybind11Tools.cmake:16 (find_package)*
-
third_party/pybind11/CMakeLists.txt:33 (include)*
– Configuring incomplete, errors occurred!
See also “/home/sunyishen/commonroad-drivability-checker/build/CMakeFiles/CMakeOutput.log”.
.
Could you give me any infomation?
My env:
Ubuntu Server 18.04 LTS
python3.6.8
virtualenv 15.1.0
TIA
Eric