UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation

C:\Anaconda3\envs\torch\lib\site-packages\numpy\__init__.py:138: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
from . import _distributor_init

看别人的一般是添加anaconda里面的环境变量

 

 

由于我一般是运行虚拟环境里面的torch,所以直接添加虚拟环境里面的环境变量

 

posted @ 2021-02-03 11:45  菜鸡一枚  阅读(5263)  评论(0编辑  收藏  举报