Closed slartz42 closed 1 year ago
First, you can also install Ruckig for Python via pip install ruckig
.
If you need the latest version from the master branch, you can compile the Python package yourself. The easiest way to install the pybind11 dependency for that is to install it via a system-wide package manager (e.g. on ubuntu -> apt install pybind11-dev
, on mac brew install pybind11
). More info from pybind11 here and here.
Just to be clear, this error is related to using pip install ruckig
, it does not seem to be working
Ah okay, I thought you were building the C++ project with cmake yourself and then only installing pybind11 with pip. That's why I gave some links to the pybind11 manual.
We provide pre-built Python packages for the major environments, and this issue might pop up when pip wants to build directly from source instead. I can see that setup.py
might have difficulties in finding pybind11 in virtual environments. Nevertheless, installing pybind11 system-wide should solve this issue. Have you tried that as well?
Just out of interest:
No problem, I probably should have chosen a different title.
We've now released v0.9.2 with a pre-built package for Python 3.11. Can you try again to run pip install ruckig
?
That worked on the first try!! Thanks!
Hello,
I'm hoping to use Ruckig for a project I'm working on but I can't seem to get it installed, I'm getting the following error below:
CMake Error at CMakeLists.txt:82 (find_package): By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "pybind11", but CMake did not find one.
I ran
pip install pybind11
and it installed successfully, but I still get the error. I also ranpip install cmake
which installed but did not fix the error.I'm currently using a virtual environment in PyCharm, any help would be appreciated