kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.64k stars 252 forks source link

ImportError: No module named scipy #144

Closed dfy888 closed 1 year ago

dfy888 commented 2 years ago

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 commented 2 years ago

i always solve it!

dancazarin commented 1 year ago

The following modules are required by KFR tests and examples:

matplotlib scipy numpy

You should install it using pip prior to running examples.