-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colcon build --mixin release: moveit_task_constructor_core error #967
Comments
Looks like you screwed your python environment. I guess, you have multiple python binaries and the wrong one is used. |
/home/2vin/ws_moveit/src/moveit_task_constructor/core/python/pybind11/tools/FindPythonLibsNew.cmake(129): execute_process(COMMAND ${PYTHON_EXECUTABLE} -c Traceback (most recent call last):
ImportError: cannot import name 'sysconfig' Call Stack (most recent call first): Failed <<< moveit_task_constructor_core [22.5s, exited with code 1] |
Also distutils.setuptools exists but it seems to be generating deprecated warning |
You still didn't figure out which python executable is called by cmake. Try to print the cmake variable |
Description
Overview of your issue here.
Your environment
Followed the above tutorial with humble as the branch
During colcon build got the below error
Starting >>> moveit
--- stderr: moveit_task_constructor_core
CMake Error at python/pybind11/tools/FindPythonLibsNew.cmake:163 (message):
Python config failure:
Traceback (most recent call last):
ImportError: cannot import name 'sysconfig'
Call Stack (most recent call first):
python/pybind11/tools/pybind11Tools.cmake:50 (find_package)
python/pybind11/tools/pybind11Common.cmake:192 (include)
python/pybind11/CMakeLists.txt:254 (include)
Failed <<< moveit_task_constructor_core [1.30s, exited with code 1]
I seem to have sysconfig and it seems to work as well
I checked for the file FindPythonLibsNew.cmake and got the following
/home/2vin/.local/lib/python2.7/site-packages/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake
/home/2vin/.local/lib/python3.8/site-packages/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake
but I also seem to have the file in
/home/2vin/.local/lib/python3.10/site-packages/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake
but not detected in locate
so I have been trying everything I can since 2 days but unable to resolve it.
The text was updated successfully, but these errors were encountered: