Issue
I'm trying to change my python path in make but I'm not able to.
When I run the command it's asking me for the input
Vsvss-MacBook-Pro:Tello_Video vsvsvarma$ cmake -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" >
Solution
Setting Python library is not enough. You should also set PYTHON_INCLUDE_DIR
and PYTHON_EXECUTABLE
Follow this link: I have 2 versions of python installed, but cmake is using older version. How do I force cmake to use the newer version?
Answered By - Bharat Biswal