这个问题通常出现在使用CMake配置项目时,CMake无法找到Python3和NumPy的相关头文件路径。 解决方案 确保Python3和NumPy已正确安装: 使用python3 --version检查Python3是否安装。 使用pip3 show numpy检查NumPy是否安装及其安装路径。 安装Python3的开发包: 在Ubuntu或Debian系统上,可以使用sudo apt-get install python3-...
part of #280 add Python3_NumPy_INCLUDE_DIRS to include_directories … c0b411c Contributor heikef commented Dec 6, 2020 Where is this set? Does one have to define it in the setup file? Python3_NumPy_INCLUDE_DIRS Member Author bast commented Dec 6, 2020 The find_package command two...