Skip to content

Instantly share code, notes, and snippets.

@guilhermeleobas
Created October 17, 2022 14:03
Show Gist options
  • Select an option

  • Save guilhermeleobas/ff80937fbac777aa991913edb16b79f5 to your computer and use it in GitHub Desktop.

Select an option

Save guilhermeleobas/ff80937fbac777aa991913edb16b79f5 to your computer and use it in GitHub Desktop.
1. git clone https://github.com/numba/numba.git
2. Baixar e instalar o Miniconda:
https://docs.conda.io/en/latest/miniconda.html
3. (opcional) Instalar o Mamba
conda install mamba -c conda-forge
4. Criar um env com o Numba
mamba create -n numba python=3.9 llvmlite=0.40 numpy cffi pytest -c numba/label/dev
5. Dar build no Numba
conda activate numba
python setup.py build_ext --inplace
Pra quem usa Mac, o comando de build é
NUMBA_DISABLE_OPENMP=1 python setup.py build_ext --inplace
5. Testar se a instalação funcionou:
$ python
>>> import numba
>>> print(numba.__version__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment