Created
October 17, 2022 14:03
-
-
Save guilhermeleobas/ff80937fbac777aa991913edb16b79f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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