问题描述
Pyspark已安装在我的Mac中.尝试从命令行运行Pyspark时遇到的错误.
Pyspark is installed in my Mac. This error I am getting while I try to run Pyspark from the command line.
我正在使用自制软件安装 Pyspark,并遵循此博客中的说明( https://medium.com/@roshinijohri/spark-with-jupyter-notebook-on-macos-2-0-0-and-higher-c61b971b5007 ).当我开始在外壳中运行Pyspark时,出现以下错误.
I am installing Pyspark using homebrew and following instructions in this blog(https://medium.com/@roshinijohri/spark-with-jupyter-notebook-on-macos-2-0-0-and-higher-c61b971b5007).When I start running Pyspark in the shell I am getting the following error.
Python 3.7.1 (default, Dec 14 2018, 13:28:58)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
Intel MKL FATAL ERROR: Cannot load libmkl_core.dylib.
推荐答案
MKL是Intel的数学内核库",它基本上处理计算.新版本的Numpy默认使用MKL,这很可能就是显示此错误的原因.
MKL is Intel's "Math Kernel Library", and it basically handles calculations.The new version of Numpy uses MKL by default, and that is likely why this error is showing up.
尝试更新numpy,
conda update numpy
或通过以下方式禁用MKL
or disable MKL by
conda install nomkl
希望能有所帮助!参考: https://github.com/BVLC/caffe/issues/3884
Hope that helped!Reference:https://github.com/BVLC/caffe/issues/3884
这篇关于什么是英特尔MKL致命错误:无法加载libmkl_core.dylib.在MacOs中运行pyspark时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!