“Unable to open libLLVM!” on macOS Mojave

若如初见. 提交于 2019-12-11 04:11:19

问题


I'm trying to set up Julia (v1.0.1) with Jupyter Notebooks using Anaconda on macOS (Mojave, 10.14).

I create a new conda environment, install julia via conda install -c conda-forge julia

In order to access Julia via jupyter notebooks I do the following:

using Pkg Pkg.add("IJulia")

The above goes well but opening Jupyter notebook and selecting Julia yields the following:

Blosc not installed properly, run Pkg.build("ZMQ"), restart Julia and try again

That's alright though - I'm missing a package. Hoping for a successful resolution of the above, I run:

using Pkg 
Pkg.build("ZMQ")

Which slaps me back with an error that I can't seem to work around:

Error: Error buildingZMQ: │ ERROR: LoadError: LoadError: Unable to open libLLVM!

Is there anything wrong with the process I'm following? It's the first time I'm trying to get Julia to work with Jupyter Notebook.

Julia info:

Julia Version 1.0.1 Platform Info: OS: macOS (x86_64-apple-darwin16.7.0) CPU: Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, skylake)

Thanks

来源:https://stackoverflow.com/questions/53099699/unable-to-open-libllvm-on-macos-mojave

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!