Open utsavrai opened 2 years ago
You probably fail installing pip as the bash install python2 and install pip with python2. pip failed install in global and result in fail installation of all the package afterward. You may try to change the bash by replacing "pip" to "python2 -m pip".
I have the same issue with pybind11
when building on Ubuntu 20.04
, even though the Pybind11 has already been installed locally. So I solved the issue by: 1/Uninstall any global pybind11 in Python2 and check with locate pybind11
(to make sure no global pybind11
in folder such as /usr/local/
). If this step not work, go to next step. 2/ Go to file ~/git/openrave/python/bindings/CMakeLists.txt
, add this line set(HAVE_ALL_PYTHON_HEADERS TRUE)
after line set(HAVE_ALL_PYTHON_HEADERS ${HAVE_ALL_PYTHON_HEADERS} PARENT_SCOPE)
.