RaspberryPi4 + Ubuntu19.10 aarch64 환경에 Anaconda를 통해 Numba 또는 llvmlite를 배포하는 단계

Install_shell_download
$ wget https://github.com/jjhelmus/conda4aarch64/releases/download/1.0.0/c4aarch64_installer-1.0.0-Linux-aarch64.sh
$ sudo chmod +x c4aarch64_installer-1.0.0-Linux-aarch64.sh
$ ./c4aarch64_installer-1.0.0-Linux-aarch64.sh

Installation_log
Welcome to c4aarch64_installer 1.0.0

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 
Copyright (c) 2019 Jonathan J. Helmus
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

a. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.

b. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the
   distribution.

c. Neither the name of the author nor the names of contributors may 
   be used to endorse or promote products derived from this software 
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Do you accept the license terms? [yes|no]
[no] >>> yes

c4aarch64_installer will now be installed into this location:
/home/ubuntu/c4aarch64_installer

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/ubuntu/c4aarch64_installer] >>> 
PREFIX=/home/ubuntu/c4aarch64_installer
installing: python-3.7.2-he90a169_0 ...
Python 3.7.2
installing: ca-certificates-2018.03.07-0 ...
installing: conda-env-2.6.0-1 ...
installing: libgcc-ng-7.3.0-h5c90dd9_0 ...
installing: libstdcxx-ng-7.3.0-h5c90dd9_0 ...
installing: libffi-3.2.1-h71b71f5_5 ...
installing: ncurses-6.1-h71b71f5_0 ...
installing: openssl-1.0.2p-h7b6447c_0 ...
installing: xz-5.2.4-h7ce4240_4 ...
installing: yaml-0.1.7-h7ce4240_3 ...
installing: zlib-1.2.11-h7b6447c_2 ...
installing: libedit-3.1.20170329-hc058e9b_2 ...
installing: readline-7.0-h7ce4240_5 ...
installing: tk-8.6.8-hbc83047_0 ...
installing: sqlite-3.25.2-h7ce4240_0 ...
installing: asn1crypto-0.24.0-py37_0 ...
installing: certifi-2018.10.15-py37_0 ...
installing: chardet-3.0.4-py37_1 ...
installing: idna-2.7-py37_0 ...
installing: pycosat-0.6.3-py37h7b6447c_0 ...
installing: pycparser-2.19-py37_0 ...
installing: pysocks-1.6.8-py37_0 ...
installing: ruamel_yaml-0.15.64-py37h7b6447c_0 ...
installing: six-1.11.0-py37_1 ...
installing: cffi-1.11.5-py37hc365091_1 ...
installing: setuptools-40.4.3-py37_0 ...
installing: cryptography-2.3.1-py37hc365091_1 ...
installing: wheel-0.32.1-py37_0 ...
installing: pip-10.0.1-py37_0 ...
installing: pyopenssl-18.0.0-py37_0 ...
installing: urllib3-1.23-py37_0 ...
installing: requests-2.19.1-py37_0 ...
installing: conda-4.5.12-py37_0 ...
installation finished.
Do you wish the installer to initialize c4aarch64_installer
in your /home/ubuntu/.bashrc ? [yes|no]
[no] >>> yes

Initializing c4aarch64_installer in /home/ubuntu/.bashrc
A backup will be made to: /home/ubuntu/.bashrc-c4aarch64_installer.bak

For this change to become active, you have to open a new terminal.

Thank you for installing c4aarch64_installer!

Register_channel_and_execute_numba_installation
$ source ~/.bashrc
$ conda config --add channels c4aarch64
$ conda config --add channels conda-forge
$ conda install -c numba numba

Installation_log
Solving environment: done

## Package Plan ##

  environment location: /home/ubuntu/c4aarch64_installer

  added / updated specs: 
    - numba


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2019.11.28 |       hecc5488_0         145 KB  conda-forge
    libgfortran-ng-7.3.0       |       h6bc79d0_0         1.0 MB  c4aarch64
    tk-8.6.10                  |       hed695b0_0         3.1 MB  conda-forge
    openssl-1.1.1d             |       h516909a_0         1.9 MB  conda-forge
    sqlite-3.28.0              |       hb527c52_0         2.3 MB  conda-forge
    numba-0.47.0               |np1.11py3.7h39e3cac_g4eb9cf875_0         3.8 MB  numba
    conda-4.8.2                |           py37_0         3.0 MB  conda-forge
    bzip2-1.0.8                |       h516909a_2         369 KB  conda-forge
    libblas-3.8.0              |      14_openblas          10 KB  conda-forge
    cryptography-2.8           |   py37h72c5cf5_1         556 KB  conda-forge
    certifi-2019.11.28         |           py37_0         149 KB  conda-forge
    liblapack-3.8.0            |      14_openblas          10 KB  conda-forge
    libopenblas-0.3.7          |       h5ec1e0e_7         4.3 MB  conda-forge
    llvmlite-0.31.0            |           py37_0        15.2 MB  numba
    numpy-1.17.5               |   py37h91f3968_0         4.7 MB  conda-forge
    conda-package-handling-1.6.0|   py37h516909a_1         960 KB  conda-forge
    python-3.7.3               |       h68b23b1_0        12.0 MB  conda-forge
    libcblas-3.8.0             |      14_openblas          10 KB  conda-forge
    tqdm-4.42.0                |             py_0          47 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        53.6 MB

The following NEW packages will be INSTALLED:

    bzip2:                  1.0.8-h516909a_2                        conda-forge
    conda-package-handling: 1.6.0-py37h516909a_1                    conda-forge
    libblas:                3.8.0-14_openblas                       conda-forge
    libcblas:               3.8.0-14_openblas                       conda-forge
    libgfortran-ng:         7.3.0-h6bc79d0_0                        c4aarch64  
    liblapack:              3.8.0-14_openblas                       conda-forge
    libopenblas:            0.3.7-h5ec1e0e_7                        conda-forge
    llvmlite:               0.31.0-py37_0                           numba      
    numba:                  0.47.0-np1.11py3.7h39e3cac_g4eb9cf875_0 numba      
    numpy:                  1.17.5-py37h91f3968_0                   conda-forge
    tqdm:                   4.42.0-py_0                             conda-forge

The following packages will be UPDATED:

    ca-certificates:        2018.03.07-0                            c4aarch64   --> 2019.11.28-hecc5488_0 conda-forge
    certifi:                2018.10.15-py37_0                       c4aarch64   --> 2019.11.28-py37_0     conda-forge
    conda:                  4.5.12-py37_0                           c4aarch64   --> 4.8.2-py37_0          conda-forge
    cryptography:           2.3.1-py37hc365091_1                    c4aarch64   --> 2.8-py37h72c5cf5_1    conda-forge
    openssl:                1.0.2p-h7b6447c_0                       c4aarch64   --> 1.1.1d-h516909a_0     conda-forge
    python:                 3.7.2-he90a169_0                        c4aarch64   --> 3.7.3-h68b23b1_0      conda-forge
    sqlite:                 3.25.2-h7ce4240_0                       c4aarch64   --> 3.28.0-hb527c52_0     conda-forge
    tk:                     8.6.8-hbc83047_0                        c4aarch64   --> 8.6.10-hed695b0_0     conda-forge

Proceed ([y]/n)? y

Finish
   :
   :
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) ubuntu@ubuntu:~$ 

좋은 웹페이지 즐겨찾기