请问有没有办法让numba找到安装在我的虚拟环境中的TBB的最新版本?默认情况下,numba发现一个过时的TBB版本,并诉诸OMP。
这是numba警告:
NumbaWarning: The TBB threading layer requires TBB version 2021 update 1 or later i.e., TBB_INTERFACE_VERSION >= 12010. Found TBB_INTERFACE_VERSION = 10003. The TBB threading layer is disabled.尽管TBB的安装版本是:
Name: tbb
Version: 2021.5.0
Summary: Intel® oneAPI Threading Building Blocks
Home-page: https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onetbb.html
Author: Intel Corporation
Author-email: scripting@intel.com
License: Intel Simplified Software License
Location: c:\users\lucas\desktop\buy_bot\buybot\lib\site-packages
Requires:
Required-by: tbb-devel发布于 2022-01-03 10:40:52
您可以尝试将"TBBROOT“环境变量设置为安装最新TBB的路径。Numba 0.54将支持TBB 2021,请检查您的Numba版本。
https://stackoverflow.com/questions/70336146
复制相似问题