The last error, as shown that could not find Numpy, but did download Numpy, computers have built-in and exogenous download, and can be used normally, could you tell me how to solve this problem?
CodePudding user response:
here are the result of activate this BTK_WRAP_PYTHON cmake, display an error" Could not find Numpy "Found SWIG:/usr/local/bin/SWIG (Found suitable version 4.0.1, minimum required is "2.0")
Found PythonLibs:/Library/Frameworks/Python framework Versions/3.7/lib/libpython3.7 m. ylib (Found version "of" 3.7.5)
Found PythonInterp:/usr/local/bin/python3.7 (Found version "of" 3.7.5)
CMake Error at/Applications/CMake. App/Contents/share/CMake - 3.16/Modules/FindPackageHandleStandardArgs. CMake: 146 (the message) :
Could NOT find NumPy (missing: NUMPY_VERSION NUMPY_INCLUDE_DIR)
The Call Stack (the most recent Call first) :
/Applications/CMake. App/Contents/share/CMake - 3.16/Modules/FindPackageHandleStandardArgs. CMake: 393 (_FPHSA_FAILURE_MESSAGE)
CMake/FindNumPy. CMake: 31 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Wrapping/Python/CMakeLists. TXT: 4 (FIND_PACKAGE)
You incomplete, errors occurred!
See also "/Library/Frameworks/Python framework Versions/3.7/CMakeDemo/build/CMakeFiles/CMakeOutput log".
See also "/Library/Frameworks/Python framework Versions/3.7/CMakeDemo/build/CMakeFiles/CMakeError. Log".
CodePudding user response:
The BTK is downloaded here. https://code.google.com/archive/p/b-tk/downloads will put it to use cmake activation BTK_WRAP_PYTHON, so that it can import in python