[PYTHON] Install numba on CentOS 7.2

You can easily install numba with conda, but for various reasons, I installed it with pip. The following is the procedure. In addition, Python uses 2.7.

1. Install cmake

  1. Download cmake-3.7.0-rc1-Linux-x86_64.sh from https://cmake.org/download/
  2. At the download destination (e.g. / home / user / download), sh cmake-3.7.0-rc1-Linux-x86_64.sh
  3. Directory cmake-3.7.0-rc1-Linux-x86_64 is created and cmake is installed in it

2. Install LLVM

  1. Download the LLVM source code from http://llvm.org/releases/download.html#3.8.1
  2. At the download destination (e.g. /home/user/download), tar xvfJ llvm-3.8.1.src.tar.xz
  3. cd llvm-3.8.1.src
  4. mkdir build
  5. cd build
  6. ../../cmake-3.7.0-rc1-Linux-x86_64/bin/cmake ..
  7. make
  8. sudo make install

3. Install llvmlite

  1. su
  2. export LLVM_CONFIG=/usr/local/bin/llvm-config
  3. yum install libstdc++-static
  4. pip install llvmlite
  5. exit

4. Install numba

  1. sudo pip install numba

5. numba test

  1. Refer to http://yutori-datascience.hatenablog.com/entry/2014/12/09/235628 Created and executed a test program in ⇒ It worked correctly!

Recommended Posts

Install numba on CentOS 7.2
Install Faiss on CentOS 7
Install Python3.4 on CentOS 6.6
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
Install awscli on centos7
Install Chainer on CentOS 6.7
Install ImageMagick-6.2.x series on CentOS7.7
Install Python 3.8 on CentOS 7 (SCL)
Install numba on your Mac
Install Chrome on CentOS 7 series
Install Python 3.8 on CentOS 8 (AppStream)
Steps to install MySQL 8.0 on CentOS 8.1
raspberry pi 4 centos7 install on docker
Steps to install VirtualBox on CentOS
Install java (Oracle JDK14) on CentOS7
How to install PyPy on CentOS
How to install TensorFlow on CentOS 7
Install pip on CentOS7. Also iPython.
Install VirtualBox on CentOS 7 on VirtualBox (mac + vagrant)
Install Python on CentOS using Pyenv
How to install Maven on CentOS
Study Note 9_Install Jenkins on CentOS7
Install Python on CentOS using pyenv
CentOS8 --Install --Django
CentOS8 --Install --Python3
Enable sar command on CentOS (install sysstat)
Install Mecab on Linux (CentOS) with brew
How to install Apache (httpd) on CentOS7
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
Install PostgreSQL from source code on CentOS
Install pyenv and rbenv on CentOS system-wide
Install mecab on Marvericks
Install Tensorflow on Mac
Install python on WSL
Install pip on Mavericks
Install Python on Pidora.
Install mongodb on termux
Install docker on Fedora31
Install Ansible on Mac
[Ansible] Install dnf on Centos7 with Python3 interpreter
Install Python on Mac
Install Python 3 on Mac
Install Plone (4.3.6) on MacOSX (10.10.3)
Install PySide2 on Ubuntu
numba installation on mac
Install gensim on Marvericks
Install JModelica on Ubuntu
Install Anaconda on Windows 10
Install numpy on Marvericks
Install python on windows
Install enebular-agent on Chromebook
Install pycuda on Windows10
Install aws-cli on MacPorts
Install pygraphviz on Windows 10
Install Docker on AWS
Install Python 3.3 on Ubuntu 12.04
[Failure] Install Stack Overflow Clone Askbot on CentOS 6.4
Install Chainer 1.5.0 on Windows
Install Python 3.4 on Mac