You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling failed when run with python -m pip install -e src/home_robot. I solved it by removing relative dependency in src/home_robot/setup.py, as shown below. Then install these packages manually.
-- Found pybind11: /opt/ros/noetic/include (found version "2.10.3")
-- cmake python version: 3.9.19
-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/pip-install-ph4h1dkq/sophuspy_55f42457cf284e2ca8de813fd905c3e5/build/temp.linux-x86_64-cpython-39
cmake --build . --config Release -- -j4
[ 50%] Building CXX object CMakeFiles/sophuspy.dir/sophus/sophuspy.cpp.o
/tmp/pip-install-ph4h1dkq/sophuspy_55f42457cf284e2ca8de813fd905c3e5/sophus/sophuspy.cpp:2:10: fatal error: pybind11/eigen.h: No such file or directory
2 |#include <pybind11/eigen.h>| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/sophuspy.dir/build.make:76: CMakeFiles/sophuspy.dir/sophus/sophuspy.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/sophuspy.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
error: command'/home/kyle/anaconda3/envs/home-robot/bin/cmake' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for sophuspy
Running setup.py clean for sophuspy
Failed to build sophuspy
The text was updated successfully, but these errors were encountered:
🐛 Bug
Compiling failed when run with
python -m pip install -e src/home_robot
. I solved it by removing relative dependency insrc/home_robot/setup.py
, as shown below. Then install these packages manually.Then re-run
python -m pip install -e src/home_robot
, it will pass:Steps to Reproduce
Steps to reproduce the behavior:
(home-robot) kyle@kyle-ThinkPad:~/Programs/AI/home-robot$ python -m pip install -e src/home_robot
Expected behavior
Compile success
Additional context
The text was updated successfully, but these errors were encountered: