Getting python Numba working on Ubuntu 14.10 or Fedora 21 with python 2.7

前端 未结 10 1906
甜味超标
甜味超标 2020-12-15 04:07

Recently, I have had a frustrating time to get python Numba working on Ubuntu or Fedora Linux. The main problem has been with the compilation of llvmlite. What do I need to

10条回答
  •  伪装坚强ぢ
    2020-12-15 04:47

    For Ubuntu 16.04

    sudo pip3 install llvmlite
    

    explicitly requests llvm version 3.9.

    But in the official packages, there is (currently) only llvm up to version 3.8. The solution is to install it like this

    Then you can run LLVM_CONFIG=/usr/bin/llvm-config-3.9 sudo pip3 install llvmlite

提交回复
热议问题