출처
리눅스 정보 확인
CPU 정보 확인
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
... 생략 ...
Serial : ca0a2ef4e6xxxxxx
instruction set architecture (ISA)
aarch64
커널에 대한 정보
Linux NanoPi-M4v2 4.4.179 #1 SMP Tue Mar 17 16:51:26 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
OS버전에 대한 정보
Ubuntu 18.04.4 LTS \n \l
논리 코어 수 확인
6
메모리, swap 사이즈 확인
total used free shared buff/cache available
Mem: 3.8G 76M 2.9G 8.8M 803M 3.6G
Swap: 0B 0B 0B
관련 라이브러리 설치, pip3 설치 확인
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
파이썬 라이브러리 설치
TensorFlow 2.2.0 패키지 설치
TensorFlow 2.2.0 패키지 다운로드
tensorflow 2.2.0 파이썬 페키지 설치
Defaulting to user installation because normal site-packages is not writeable
Processing ./tensorflow-2.2.0-cp37-cp37m-linux_aarch64.whl
Requirement already satisfied: numpy<2.0,>=1.16.0 in /usr/local/lib/python3.7/site-packages (from tensorflow==2.2.0) (1.18.4)
Collecting protobuf>=3.8.0
Downloading protobuf-3.11.3-py2.py3-none-any.whl (434 kB)
|████████████████████████████████| 434 kB 223 kB/s
Collecting grpcio>=1.8.6
Downloading grpcio-1.28.1.tar.gz (19.5 MB)
|████████████████████████████████| 19.5 MB 154 kB/s
Collecting keras-preprocessing>=1.1.0
Downloading Keras_Preprocessing-1.1.1-py2.py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 344 kB/s
Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.7/site-packages (from tensorflow==2.2.0) (1.14.0)
Collecting termcolor>=1.1.0
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Requirement already satisfied: h5py<2.11.0,>=2.10.0 in /usr/local/lib/python3.7/site-packages (from tensorflow==2.2.0) (2.10.0)
Collecting tensorboard<2.3.0,>=2.2.0
Downloading tensorboard-2.2.1-py3-none-any.whl (3.0 MB)
|████████████████████████████████| 3.0 MB 5.7 MB/s
Collecting tensorflow-estimator<2.3.0,>=2.2.0
Downloading tensorflow_estimator-2.2.0-py2.py3-none-any.whl (454 kB)
|████████████████████████████████| 454 kB 6.2 MB/s
Collecting wrapt>=1.11.1
Downloading wrapt-1.12.1.tar.gz (27 kB)
Collecting scipy==1.4.1; python_version >= "3"
Downloading scipy-1.4.1.tar.gz (24.6 MB)
|████████████████████████████████| 24.6 MB 540 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting google-pasta>=0.1.8
Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 2.3 MB/s
Collecting opt-einsum>=2.3.2
Downloading opt_einsum-3.2.1-py3-none-any.whl (63 kB)
|████████████████████████████████| 63 kB 1.0 MB/s
Collecting absl-py>=0.7.0
Downloading absl-py-0.9.0.tar.gz (104 kB)
|████████████████████████████████| 104 kB 7.4 MB/s
Requirement already satisfied: wheel>=0.26; python_version >= "3" in /usr/local/lib/python3.7/site-packages (from tensorflow==2.2.0) (0.34.2)
Collecting gast==0.3.3
Downloading gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting astunparse==1.6.3
Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from protobuf>=3.8.0->tensorflow==2.2.0) (46.2.0)
Collecting werkzeug>=0.11.15
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
|████████████████████████████████| 298 kB 6.4 MB/s
Collecting google-auth-oauthlib<0.5,>=0.4.1
Downloading google_auth_oauthlib-0.4.1-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8
Downloading Markdown-3.2.2-py3-none-any.whl (88 kB)
|████████████████████████████████| 88 kB 3.1 MB/s
Collecting tensorboard-plugin-wit>=1.6.0
Downloading tensorboard_plugin_wit-1.6.0.post3-py3-none-any.whl (777 kB)
|████████████████████████████████| 777 kB 6.3 MB/s
Collecting google-auth<2,>=1.6.3
Downloading google_auth-1.14.3-py2.py3-none-any.whl (89 kB)
|████████████████████████████████| 89 kB 3.2 MB/s
Collecting requests<3,>=2.21.0
Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 3.0 MB/s
Collecting requests-oauthlib>=0.7.0
Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting importlib-metadata; python_version < "3.8"
Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting pyasn1-modules>=0.2.1
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 7.6 MB/s
Collecting cachetools<5.0,>=2.0.0
Downloading cachetools-4.1.0-py3-none-any.whl (10 kB)
Collecting rsa<4.1,>=3.1.4
Downloading rsa-4.0-py2.py3-none-any.whl (38 kB)
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 8.2 MB/s
Collecting certifi>=2017.4.17
Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB)
|████████████████████████████████| 157 kB 7.9 MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.9-py2.py3-none-any.whl (126 kB)
|████████████████████████████████| 126 kB 8.2 MB/s
Collecting idna<3,>=2.5
Downloading idna-2.9-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 2.6 MB/s
Collecting oauthlib>=3.0.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 8.1 MB/s
Collecting zipp>=0.5
Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
|████████████████████████████████| 77 kB 2.4 MB/s
Building wheels for collected packages: grpcio, termcolor, wrapt, scipy, absl-py
Building wheel for grpcio (setup.py) ...
Created wheel for grpcio: filename=grpcio-1.28.1-cp37-cp37m-linux_aarch64.whl size=21720921 sha256=1c5d524edfe612fb392cb50ebacab9ec390e75cadf4113a2b8fce767d5b3c673
Stored in directory: /home/pi/.cache/pip/wheels/1a/57/84/d91cbd4882f6ae0adc3acba56cbf0c2c75e0263118614d1fcf
Building wheel for termcolor (setup.py) ... done
Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=8b1f16963d32824d08c381271c4fe32337c5f127e36d4dd04e9e380ab1152e66
Stored in directory: /home/pi/.cache/pip/wheels/3f/e3/ec/8a8336ff196023622fbcb36de0c5a5c218cbb24111d1d4c7f2
Building wheel for wrapt (setup.py) ... done
Created wheel for wrapt: filename=wrapt-1.12.1-cp37-cp37m-linux_aarch64.whl size=71545 sha256=f927060b151c53873a685a59f13015e5aaf6da67da4f741c02598f26bb308af0
Stored in directory: /home/pi/.cache/pip/wheels/62/76/4c/aa25851149f3f6d9785f6c869387ad82b3fd37582fa8147ac6
Building wheel for scipy (PEP 517) ... done
Created wheel for scipy: filename=scipy-1.4.1-cp37-cp37m-linux_aarch64.whl size=45319976 sha256=e7af6941572f5cdea50661ee1134b471727bf6d4815695d2f3461af3930edcdc
Stored in directory: /home/pi/.cache/pip/wheels/ff/bd/f9/ac5a9a019da5be2072e8a283f36d28b219762cebdd21ff3c68
Building wheel for absl-py (setup.py) ... done
Created wheel for absl-py: filename=absl_py-0.9.0-py3-none-any.whl size=121931 sha256=72ad0ed75f329456194bb9d3dce7390916534f26b08a15c81c480904644fd4ba
Stored in directory: /home/pi/.cache/pip/wheels/cc/af/1a/498a24d0730ef484019e007bb9e8cef3ac00311a672c049a3e
Successfully built grpcio termcolor wrapt scipy absl-py
Installing collected packages: protobuf, grpcio, keras-preprocessing, termcolor, werkzeug, chardet, certifi, urllib3, idna, requests, oauthlib, requests-oauthlib, pyasn1, pyasn1-modules, cachetools, rsa, google-auth, google-auth-oauthlib, absl-py, zipp, importlib-metadata, markdown, tensorboard-plugin-wit, tensorboard, tensorflow-estimator, wrapt, scipy, google-pasta, opt-einsum, gast, astunparse, tensorflow
WARNING: The script chardetect is installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pyrsa-decrypt, pyrsa-encrypt, pyrsa-keygen, pyrsa-priv2pub, pyrsa-sign and pyrsa-verify are installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script google-oauthlib-tool is installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script markdown_py is installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script tensorboard is installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts estimator_ckpt_converter, saved_model_cli, tensorboard, tf_upgrade_v2, tflite_convert, toco and toco_from_protos are installed in '/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed absl-py-0.9.0 astunparse-1.6.3 cachetools-4.1.0 certifi-2020.4.5.1 chardet-3.0.4 gast-0.3.3 google-auth-1.14.3 google-auth-oauthlib-0.4.1 google-pasta-0.2.0 grpcio-1.28.1 idna-2.9 importlib-metadata-1.6.0 keras-preprocessing-1.1.1 markdown-3.2.2 oauthlib-3.1.0 opt-einsum-3.2.1 protobuf-3.11.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.23.0 requests-oauthlib-1.3.0 rsa-4.0 scipy-1.4.1 tensorboard-2.2.1 tensorboard-plugin-wit-1.6.0.post3 tensorflow-2.2.0 tensorflow-estimator-2.2.0 termcolor-1.1.0 urllib3-1.25.9 werkzeug-1.0.1 wrapt-1.12.1 zipp-3.1.0
WARNING: You are using pip version 20.0.2; however, version 20.1 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
버전 확인
Python 3.7.7 (default, May 12 2020, 15:55:46)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'2.2.0'