kfr icon indicating copy to clipboard operation
kfr copied to clipboard

ImportError: No module named scipy

Open dfy888 opened this issue 3 years ago • 1 comments

this is my example
CMakeLists.txt :

` cmake_minimum_required(VERSION 3.15)

SET(CMAKE_CXX_STANDARD 17)

file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/svg)

add_executable(main iir.cpp)

set(Python3_ROOT_DIR "/home/jiang/miniconda3/envs/py3_tf2_torch") find_package(Python3 COMPONENTS Interpreter Development REQUIRED) find_package(Python3 COMPONENTS NumPy)

include_directories(${Python3_INCLUDE_DIRS}) target_link_libraries(main ${Python3_LIBRARIES})

`

dfy888 avatar Dec 15 '21 03:12 dfy888

i always solve it!

dfy888 avatar Dec 16 '21 00:12 dfy888

The following modules are required by KFR tests and examples:

matplotlib scipy numpy

You should install it using pip prior to running examples.

dancazarin avatar Oct 20 '22 16:10 dancazarin