symengine.py icon indicating copy to clipboard operation
symengine.py copied to clipboard

cmake error: string sub-command STRIP requires two arguments.

Open yurivict opened this issue 3 years ago • 2 comments

SymEngine_DIR : /usr/local/lib/cmake/symengine
SymEngine Version : 0.9.0
CMake Error at cmake/FindPython.cmake:7 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  CMakeLists.txt:16 (find_package)

yurivict avatar Jul 30 '22 18:07 yurivict

FYI: cmake finds Python fine with find_package now. There is no need to write Python discovery code.

yurivict avatar Jul 30 '22 18:07 yurivict

The reason is that the 'python' command fails and you didn't handle the failure case and kept going.

yurivict avatar Jul 30 '22 19:07 yurivict