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

前端 未结 10 1912
甜味超标
甜味超标 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:46

    For Ubuntu 14.04 I managed to install with this:

    export LDFLAGS="-std=gnu++11 -fPIC"
    
    LLVM_CONFIG=/usr/bin/llvm-config-7 pip install llvmlite
    
    LLVM_CONFIG=/usr/bin/llvm-config-7 pip install numba
    

提交回复
热议问题