1.すぐに利用したい方へ(as soon as)
「Deep Learning Essentials」 Wei Di, Anurag Bhardwaj, Jianing Wei 著
http://shop.oreilly.com/product/9781785880360.do
nvidia-docker が利用できる。
NvidiaのGPUを利用している機材では、nvidia-dockerを導入して利用してみるとよい。
近日中に対応予定。
docker
dockerを導入し、Windows, Macではdockerを起動しておいてください。
Windowsでは、BiosでIntel Virtualizationをenableにしないとdockerが起動しない場合があります。
また、セキュリティの警告などが出ることがあります。
docker pull and run
$ docker pull kaizenjapan/anaconda3-wei
$ docker run -it -p 8888:8888 kaizenjapan/anaconda3-wei /bin/bash
以下のshell sessionでは
(base) root@f19e2f06eabb:/#は入力促進記号(comman prompt)です。実際には数字の部分が違うかもしれません。この行の#の右側を入力してください。
それ以外の行は出力です。出力にエラー、違いがあれば、コメント欄などでご連絡くださると幸いです。
それぞれの章のフォルダに移動します。
dockerの中と、dockerを起動したOSのシェルとが表示が似ている場合には、どちらで捜査しているか間違えることがあります。dockerの入力促進記号(comman prompt)に気をつけてください。
ファイル共有または複写
dockerとdockerを起動したOSでは、ファイル共有をするか、ファイル複写するかして、生成したファイルをブラウザ等表示させてください。参考文献欄にやり方のURLを記載しています。
複写の場合は、dockerを起動したOS側コマンドを実行しました。お使いのdockerの番号で置き換えてください。複写したファイルをブラウザで表示し内容確認しました。
## jupyternotebook
(base) root@d8857ae56e69:/Deep-Learning-Essentials# ls
Chapter02 Chapter03 Chapter04 Chapter05 Chapter06 Chapter08 LICENSE README.md
(base) root@d8857ae56e69:/Deep-Learning-Essentials# cd Chapter04
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04# ls
chapter-4
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04# cd chapter-4
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04/chapter-4# ls
codeblock
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04/chapter-4# cd codelock
bash: cd: codelock: No such file or directory
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04/chapter-4# ls
codeblock
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04/chapter-4# cd codeblock/
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04/chapter-4/codeblock# ls
MNIST-data cb-mnist.py cb-preprocess.py
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter04/chapter-4/codeblock# python cb-mnist.py
/opt/conda/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
WARNING:tensorflow:From cb-mnist.py:44: load_dataset (from tensorflow.contrib.learn.python.learn.datasets) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data.
WARNING:tensorflow:From /opt/conda/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/init.py:80: load_mnist (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
WARNING:tensorflow:From /opt/conda/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:300: read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
WARNING:tensorflow:From /opt/conda/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:260: maybe_download (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Please write your own downloading logic.
WARNING:tensorflow:From /opt/conda/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:262: extract_images (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data to implement this functionality.
Extracting MNIST-data/train-images-idx3-ubyte.gz
WARNING:tensorflow:From /opt/conda/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:267: extract_labels (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data to implement this functionality.
Extracting MNIST-data/train-labels-idx1-ubyte.gz
Extracting MNIST-data/t10k-images-idx3-ubyte.gz
Extracting MNIST-data/t10k-labels-idx1-ubyte.gz
WARNING:tensorflow:From /opt/conda/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py:290: DataSet.init (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
2018-10-14 11:59:27.376798: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-10-14 11:59:27.377066: I tensorflow/core/common_runtime/process_util.cc:69] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
^CTraceback (most recent call last):
File "cb-mnist.py", line 55, in
mnist_classifier.train(input_fn=train_input_fn,steps=20000)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 366, in train
loss = self._train_model(input_fn, hooks, saving_listeners)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1119, in _train_model
return self._train_model_default(input_fn, hooks, saving_listeners)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1135, in _train_model_default
saving_listeners)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1336, in _train_with_estimator_spec
_, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss])
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 577, in run
run_metadata=run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1053, in run
run_metadata=run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1129, in run
return self._sess.run(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1201, in run
run_metadata=run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 981, in run
return self._sess.run(*args, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1316, in _do_run
run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call
return fn(*args)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun
run_metadata)
KeyboardInterrupt
### Chapter05
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter05/chapter_05# python pdp_chapter05_use_existing_word2vec.py
File "pdp_chapter05_use_existing_word2vec.py", line 20
print similar_words
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(similar_words)?
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter05/chapter_05# python pdp_chapter05_word2vec.py
/opt/conda/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
## Chapter06
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter06/chapter-6/codeblock# python cb-lstm.py
/opt/conda/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
WARNING:tensorflow:From cb-lstm.py:30: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See @{tf.nn.softmax_cross_entropy_with_logits_v2}.
2018-10-14 12:04:15.059162: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-10-14 12:04:15.060856: I tensorflow/core/common_runtime/process_util.cc:69] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
### Chapter08
(base) root@d8857ae56e69:/Deep-Learning-Essentials# cd Chapter08
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08# ls
chapter-8
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08# cd chapter-8/
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8# ls
codeblock
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8# cd codeblock/
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8/codeblock# ls
cb-gym-install.sh cb-qnet.py cb-rl.py
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8/codeblock# cat cb-gym-install.sh
pip install gym
brew install golang libjpeg-turbo
pip install universe
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8/codeblock# pip install gym
Collecting gym
Downloading https://files.pythonhosted.org/packages/c3/44/3a63e8b87f642db49ac81239620e68df8cfae223dcfda4f8508aec88d204/gym-0.10.8.tar.gz (1.5MB)
100% |████████████████████████████████| 1.5MB 6.8MB/s
Requirement already satisfied: scipy in /opt/conda/lib/python3.6/site-packages (from gym) (1.1.0)
Requirement already satisfied: numpy>=1.10.4 in /opt/conda/lib/python3.6/site-packages (from gym) (1.14.3)
Requirement already satisfied: requests>=2.0 in /opt/conda/lib/python3.6/site-packages (from gym) (2.18.4)
Requirement already satisfied: six in /opt/conda/lib/python3.6/site-packages (from gym) (1.11.0)
Collecting pyglet>=1.2.0 (from gym)
Downloading https://files.pythonhosted.org/packages/1c/fc/dad5eaaab68f0c21e2f906a94ddb98175662cc5a654eee404d59554ce0fa/pyglet-1.3.2-py2.py3-none-any.whl (1.0MB)
100% |████████████████████████████████| 1.0MB 11.7MB/s
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.6/site-packages (from requests>=2.0->gym) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in /opt/conda/lib/python3.6/site-packages (from requests>=2.0->gym) (2.6)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /opt/conda/lib/python3.6/site-packages (from requests>=2.0->gym) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.6/site-packages (from requests>=2.0->gym) (2018.4.16)
Collecting future (from pyglet>=1.2.0->gym)
Downloading https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz (824kB)
100% |████████████████████████████████| 829kB 6.7MB/s
Building wheels for collected packages: gym, future
Running setup.py bdist_wheel for gym ... done
Stored in directory: /root/.cache/pip/wheels/ea/ec/dd/33bcc8801d345f0b640fced8a0864a7c8474828564bc5ccf70
Running setup.py bdist_wheel for future ... done
Stored in directory: /root/.cache/pip/wheels/bf/c9/a3/c538d90ef17cf7823fa51fc701a7a7a910a80f6a405bf15b1a
Successfully built gym future
Installing collected packages: future, pyglet, gym
Successfully installed future-0.16.0 gym-0.10.8 pyglet-1.3.2
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8/codeblock# apt-get install golang
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
binutils cpp cpp-6 g++ g++-6 gcc gcc-6 golang-1.7 golang-1.7-doc golang-1.7-go golang-1.7-src golang-doc golang-go golang-src libasan3
libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libfile-fcntllock-perl libgcc-6-dev libgomp1 libisl15 libitm1
liblocale-gettext-perl liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0 libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev manpages
manpages-dev pkg-config
Suggested packages:
binutils-doc cpp-doc gcc-6-locales g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-multilib make autoconf automake libtool flex
bison gdb gcc-doc gcc-6-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg bzr glibc-doc debian-keyring gnupg | gnupg2 libstdc++-6-doc man-browser
The following NEW packages will be installed:
binutils cpp cpp-6 g++ g++-6 gcc gcc-6 golang golang-1.7 golang-1.7-doc golang-1.7-go golang-1.7-src golang-doc golang-go golang-src
libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libfile-fcntllock-perl libgcc-6-dev libgomp1 libisl15 libitm1
liblocale-gettext-perl liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0 libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev manpages
manpages-dev pkg-config
0 upgraded, 40 newly installed, 0 to remove and 25 not upgraded.
Need to get 68.6 MB of archives.
After this operation, 309 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch/main amd64 liblocale-gettext-perl amd64 1.07-3+b1 [18.7 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.110-3+deb9u4 [1350 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 manpages all 4.10-2 [1222 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3770 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libmpc3 amd64 1.0.3-1+b2 [39.9 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 cpp-6 amd64 6.3.0-18+deb9u1 [6584 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 cpp amd64 4:6.3.0-4 [18.7 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 libgomp1 amd64 6.3.0-18+deb9u1 [73.3 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 libatomic1 amd64 6.3.0-18+deb9u1 [8966 B]
Get:14 http://deb.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 libquadmath0 amd64 6.3.0-18+deb9u1 [131 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2296 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6900 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5196 B]
Get:24 http://deb.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3 [258 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3 [2361 kB]
Get:26 http://deb.debian.org/debian stretch/main amd64 libstdc++-6-dev amd64 6.3.0-18+deb9u1 [1420 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 g++-6 amd64 6.3.0-18+deb9u1 [7094 kB]
Get:28 http://deb.debian.org/debian stretch/main amd64 g++ amd64 4:6.3.0-4 [1546 B]
Get:29 http://deb.debian.org/debian stretch/main amd64 golang-1.7-src amd64 1.7.4-2 [7677 kB]
Get:30 http://deb.debian.org/debian stretch/main amd64 golang-1.7-go amd64 1.7.4-2 [19.3 MB]
Get:31 http://deb.debian.org/debian stretch/main amd64 golang-1.7-doc all 1.7.4-2 [2391 kB]
Get:32 http://deb.debian.org/debian stretch/main amd64 golang-1.7 all 1.7.4-2 [26.8 kB]
Get:33 http://deb.debian.org/debian stretch/main amd64 golang-src amd64 2:1.7~5 [3560 B]
Get:34 http://deb.debian.org/debian stretch/main amd64 golang-go amd64 2:1.7~5 [22.7 kB]
Get:35 http://deb.debian.org/debian stretch/main amd64 golang-doc all 2:1.7~5 [3600 B]
Get:36 http://deb.debian.org/debian stretch/main amd64 golang amd64 2:1.7~5 [3540 B]
Get:37 http://deb.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18.25 [1287 kB]
Get:38 http://deb.debian.org/debian stretch/main amd64 libfile-fcntllock-perl amd64 0.22-3+b2 [35.3 kB]
Get:39 http://deb.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2145 kB]
Get:40 http://deb.debian.org/debian stretch/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB]
Fetched 68.6 MB in 19s (3512 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package liblocale-gettext-perl.
(Reading database ... 12640 files and directories currently installed.)
Preparing to unpack .../00-liblocale-gettext-perl_1.07-3+b1_amd64.deb ...
Unpacking liblocale-gettext-perl (1.07-3+b1) ...
Selecting previously unselected package manpages.
Preparing to unpack .../01-manpages_4.10-2_all.deb ...
Unpacking manpages (4.10-2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../02-binutils_2.28-5_amd64.deb ...
Unpacking binutils (2.28-5) ...
Selecting previously unselected package libisl15:amd64.
Preparing to unpack .../03-libisl15_0.18-1_amd64.deb ...
Unpacking libisl15:amd64 (0.18-1) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../04-libmpfr4_3.1.5-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.5-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../05-libmpc3_1.0.3-1+b2_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.3-1+b2) ...
Selecting previously unselected package cpp-6.
Preparing to unpack .../06-cpp-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking cpp-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../07-cpp_4%3a6.3.0-4_amd64.deb ...
Unpacking cpp (4:6.3.0-4) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../08-libcc1-0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../09-libgomp1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgomp1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../10-libitm1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../11-libatomic1_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libatomic1:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libasan3:amd64.
Preparing to unpack .../12-libasan3_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../13-liblsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../14-libtsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../15-libubsan0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../16-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../17-libmpx2_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../18-libquadmath0_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libquadmath0:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package libgcc-6-dev:amd64.
Preparing to unpack .../19-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc-6.
Preparing to unpack .../20-gcc-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking gcc-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../21-gcc_4%3a6.3.0-4_amd64.deb ...
Unpacking gcc (4:6.3.0-4) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../22-libc-dev-bin_2.24-11+deb9u3_amd64.deb ...
Unpacking libc-dev-bin (2.24-11+deb9u3) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../23-linux-libc-dev_4.9.110-3+deb9u4_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.110-3+deb9u4) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../24-libc6-dev_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.24-11+deb9u3) ...
Selecting previously unselected package libstdc++-6-dev:amd64.
Preparing to unpack .../25-libstdc++-6-dev_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++-6.
Preparing to unpack .../26-g++-6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking g++-6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package g++.
Preparing to unpack .../27-g++_4%3a6.3.0-4_amd64.deb ...
Unpacking g++ (4:6.3.0-4) ...
Selecting previously unselected package golang-1.7-src.
Preparing to unpack .../28-golang-1.7-src_1.7.4-2_amd64.deb ...
Unpacking golang-1.7-src (1.7.4-2) ...
Selecting previously unselected package golang-1.7-go.
Preparing to unpack .../29-golang-1.7-go_1.7.4-2_amd64.deb ...
Unpacking golang-1.7-go (1.7.4-2) ...
Selecting previously unselected package golang-1.7-doc.
Preparing to unpack .../30-golang-1.7-doc_1.7.4-2_all.deb ...
Unpacking golang-1.7-doc (1.7.4-2) ...
Selecting previously unselected package golang-1.7.
Preparing to unpack .../31-golang-1.7_1.7.4-2_all.deb ...
Unpacking golang-1.7 (1.7.4-2) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../32-golang-src_2%3a1.7~5_amd64.deb ...
Unpacking golang-src (2:1.7~5) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../33-golang-go_2%3a1.7~5_amd64.deb ...
Unpacking golang-go (2:1.7~5) ...
Selecting previously unselected package golang-doc.
Preparing to unpack .../34-golang-doc_2%3a1.7~5_all.deb ...
Unpacking golang-doc (2:1.7~5) ...
Selecting previously unselected package golang.
Preparing to unpack .../35-golang_2%3a1.7~5_amd64.deb ...
Unpacking golang (2:1.7~5) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../36-libdpkg-perl_1.18.25_all.deb ...
Unpacking libdpkg-perl (1.18.25) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../37-libfile-fcntllock-perl_0.22-3+b2_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3+b2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../38-manpages-dev_4.10-2_all.deb ...
Unpacking manpages-dev (4.10-2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../39-pkg-config_0.29-4+b1_amd64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Setting up libquadmath0:amd64 (6.3.0-18+deb9u1) ...
Setting up libgomp1:amd64 (6.3.0-18+deb9u1) ...
Setting up libatomic1:amd64 (6.3.0-18+deb9u1) ...
Setting up manpages (4.10-2) ...
Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ...
Setting up libasan3:amd64 (6.3.0-18+deb9u1) ...
Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ...
Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u4) ...
Setting up libdpkg-perl (1.18.25) ...
Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ...
Setting up libfile-fcntllock-perl (0.22-3+b2) ...
Setting up pkg-config (0.29-4+b1) ...
Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ...
Setting up libisl15:amd64 (0.18-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up liblocale-gettext-perl (1.07-3+b1) ...
Setting up libmpfr4:amd64 (3.1.5-1) ...
Setting up libmpc3:amd64 (1.0.3-1+b2) ...
Setting up binutils (2.28-5) ...
Setting up cpp-6 (6.3.0-18+deb9u1) ...
Setting up golang-1.7-src (1.7.4-2) ...
Setting up libc-dev-bin (2.24-11+deb9u3) ...
Setting up manpages-dev (4.10-2) ...
Setting up libc6-dev:amd64 (2.24-11+deb9u3) ...
Setting up libitm1:amd64 (6.3.0-18+deb9u1) ...
Setting up cpp (4:6.3.0-4) ...
Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ...
Setting up libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ...
Setting up golang-src (2:1.7~5) ...
Setting up gcc-6 (6.3.0-18+deb9u1) ...
Setting up g++-6 (6.3.0-18+deb9u1) ...
Setting up golang-1.7-go (1.7.4-2) ...
Setting up golang-1.7-doc (1.7.4-2) ...
Setting up gcc (4:6.3.0-4) ...
Setting up golang-go (2:1.7~5) ...
Setting up golang-1.7 (1.7.4-2) ...
Setting up g++ (4:6.3.0-4) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up golang-doc (2:1.7~5) ...
Setting up golang (2:1.7~5) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8/codeblock# apt-get install libjpeg-turbo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libjpeg-turbo
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter08/chapter-8/codeblock# pip install universe
Collecting universe
Downloading https://files.pythonhosted.org/packages/5b/5e/26ee56c16cdc83a07a3251e3425856f2ade84928de55b3fa11590ce2b912/universe-0.21.3.tar.gz (136kB)
100% |████████████████████████████████| 143kB 795kB/s
Collecting autobahn>=0.16.0 (from universe)
Downloading https://files.pythonhosted.org/packages/66/29/8e709af556703ad424d50796370ff3d035651d6e00ca0e3905de06a8b302/autobahn-18.9.2-py2.py3-none-any.whl (298kB)
100% |████████████████████████████████| 307kB 968kB/s
Collecting docker-py==1.10.3 (from universe)
Downloading https://files.pythonhosted.org/packages/20/10/5234c4fa9710a04184586d877d028a51dc395a1867c3d4317438514dff77/docker_py-1.10.3-py2.py3-none-any.whl (48kB)
100% |████████████████████████████████| 51kB 10.7MB/s
Collecting docker-pycreds==0.2.1 (from universe)
Downloading https://files.pythonhosted.org/packages/ff/ec/14e976222468249cc50df4a031e5922581747b52dc96a0b1d5d73fee8f0e/docker_pycreds-0.2.1-py2.py3-none-any.whl
Collecting fastzbarlight>=0.0.13 (from universe)
Downloading https://files.pythonhosted.org/packages/2b/f6/b46fe453ab12ac08c6a15808d402963819f26d4bd9daa5a899f6a3bae22d/fastzbarlight-0.0.14.tar.gz (728kB)
100% |████████████████████████████████| 737kB 12.4MB/s
Collecting go-vncdriver>=0.4.8 (from universe)
Downloading https://files.pythonhosted.org/packages/26/29/5a3036974ac2d86991a806d0136c1437b851ec61481694b8b6adeafde81b/go_vncdriver-0.4.19.tar.gz (638kB)
100% |████████████████████████████████| 645kB 11.0MB/s
Collecting gym<0.8,>=0.7 (from universe)
Downloading https://files.pythonhosted.org/packages/f2/af/15bc80c507108cf6de27fd356bb5939ba64b437610412e48b186ee0dedfd/gym-0.7.4.tar.gz (152kB)
100% |████████████████████████████████| 153kB 9.9MB/s
Requirement already satisfied: Pillow>=3.3.0 in /opt/conda/lib/python3.6/site-packages (from universe) (5.1.0)
Requirement already satisfied: PyYAML>=3.12 in /opt/conda/lib/python3.6/site-packages (from universe) (3.12)
Requirement already satisfied: six>=1.10.0 in /opt/conda/lib/python3.6/site-packages (from universe) (1.11.0)
Collecting twisted>=16.5.0 (from universe)
Downloading https://files.pythonhosted.org/packages/90/50/4c315ce5d119f67189d1819629cae7908ca0b0a6c572980df5cc6942bc22/Twisted-18.7.0.tar.bz2 (3.1MB)
100% |████████████████████████████████| 3.1MB 7.2MB/s
Collecting ujson>=1.35 (from universe)
Downloading https://files.pythonhosted.org/packages/16/c4/79f3409bc710559015464e5f49b9879430d8f87498ecdc335899732e5377/ujson-1.35.tar.gz (192kB)
100% |████████████████████████████████| 194kB 13.4MB/s
Collecting txaio>=18.8.1 (from autobahn>=0.16.0->universe)
Downloading https://files.pythonhosted.org/packages/e9/6d/e1a6f7835cde86728e5bb1f577be9b2d7d273fdb33c286e70b087d418ded/txaio-18.8.1-py2.py3-none-any.whl
Collecting websocket-client>=0.32.0 (from docker-py==1.10.3->universe)
Downloading https://files.pythonhosted.org/packages/14/d4/6a8cd4e7f67da465108c7cc0a307a1c5da7e2cdf497330b682069b1d4758/websocket_client-0.53.0-py2.py3-none-any.whl (198kB)
100% |████████████████████████████████| 204kB 16.5MB/s
Collecting requests<2.11,>=2.5.2 (from docker-py==1.10.3->universe)
Downloading https://files.pythonhosted.org/packages/99/b4/63d99ba8e189c47d906b43bae18af4396e336f2b1bfec86af31efe2d2cb8/requests-2.10.0-py2.py3-none-any.whl (506kB)
100% |████████████████████████████████| 512kB 1.3MB/s
Requirement already satisfied: numpy in /opt/conda/lib/python3.6/site-packages (from go-vncdriver>=0.4.8->universe) (1.14.3)
Requirement already satisfied: pyglet>=1.2.0 in /opt/conda/lib/python3.6/site-packages (from gym<0.8,>=0.7->universe) (1.3.2)
Collecting zope.interface>=4.4.2 (from twisted>=16.5.0->universe)
Downloading https://files.pythonhosted.org/packages/a8/1c/ebc5de89de058c7aaf8f5d1013020273449d7069bb4036287c52cea9a25f/zope.interface-4.5.0-cp36-cp36m-manylinux1_x86_64.whl (166kB)
100% |████████████████████████████████| 174kB 16.1MB/s
Collecting constantly>=15.1 (from twisted>=16.5.0->universe)
Downloading https://files.pythonhosted.org/packages/b9/65/48c1909d0c0aeae6c10213340ce682db01b48ea900a7d9fce7a7910ff318/constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from twisted>=16.5.0->universe)
Downloading https://files.pythonhosted.org/packages/f5/1d/c98a587dc06e107115cf4a58b49de20b19222c83d75335a192052af4c4b7/incremental-17.5.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from twisted>=16.5.0->universe)
Downloading https://files.pythonhosted.org/packages/a3/86/14c16bb98a5a3542ed8fed5d74fb064a902de3bdd98d6584b34553353c45/Automat-0.7.0-py2.py3-none-any.whl
Collecting hyperlink>=17.1.1 (from twisted>=16.5.0->universe)
Downloading https://files.pythonhosted.org/packages/a7/b6/84d0c863ff81e8e7de87cff3bd8fd8f1054c227ce09af1b679a8b17a9274/hyperlink-18.0.0-py2.py3-none-any.whl
Collecting PyHamcrest>=1.9.0 (from twisted>=16.5.0->universe)
Downloading https://files.pythonhosted.org/packages/9a/d5/d37fd731b7d0e91afcc84577edeccf4638b4f9b82f5ffe2f8b62e2ddc609/PyHamcrest-1.9.0-py2.py3-none-any.whl (52kB)
100% |████████████████████████████████| 61kB 6.9MB/s
Requirement already satisfied: attrs>=17.4.0 in /opt/conda/lib/python3.6/site-packages (from twisted>=16.5.0->universe) (18.1.0)
Requirement already satisfied: future in /opt/conda/lib/python3.6/site-packages (from pyglet>=1.2.0->gym<0.8,>=0.7->universe) (0.16.0)
Requirement already satisfied: setuptools in /opt/conda/lib/python3.6/site-packages (from zope.interface>=4.4.2->twisted>=16.5.0->universe) (39.1.0)
Requirement already satisfied: idna>=2.5 in /opt/conda/lib/python3.6/site-packages (from hyperlink>=17.1.1->twisted>=16.5.0->universe) (2.6)
Building wheels for collected packages: universe, fastzbarlight, go-vncdriver, gym, twisted, ujson
Running setup.py bdist_wheel for universe ... done
Stored in directory: /root/.cache/pip/wheels/65/71/6f/d7604d1848e86ea29abcbd111086a74de6cc5506bfae8a4619
Running setup.py bdist_wheel for fastzbarlight ... error
Complete output from command /opt/conda/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-khj4ylia/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-byu9wbrf --python-tag cp36:
running bdist_wheel
running build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... none
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xmlto... no
checking whether to build EAN symbologies... yes
checking whether to build Code 128 symbology... yes
checking whether to build Code 39 symbology... yes
checking whether to build PDF417 symbology... no
checking whether to build Interleaved 2 of 5 symbology... yes
checking whether to build QR Code... yes
checking for library containing clock_gettime... none required
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for X... disabled
checking for X11/extensions/XShm.h... no
checking for X11/extensions/Xvlib.h... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking jerror.h usability... no
checking jerror.h presence... no
checking for jerror.h... no
checking for jpeg_read_header in -ljpeg... no
checking whether to enable assertions... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memset... yes
checking for atexit... yes
checking for setenv... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating zbar.pc
config.status: creating zbar-gtk.pc
config.status: creating zbar-qt.pc
config.status: creating doc/doxygen.conf
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing doc/version.xml commands
config.status: executing doc/reldate.xml commands
please verify that the detected configuration matches your expectations:
X --with-x=disabled
pthreads --enable-pthread=yes
v4l --enable-video=no
=> zbarcam video scanner will NOT be built
jpeg --with-jpeg=no
=> JPEG image conversions will NOT be supported
Magick++ --with-imagemagick=no
=> the zbarimg file scanner will NOT be built
Python --with-python=no
GTK+ --with-gtk=no
=> the GTK+ widget will NOT be built
Qt4 --with-qt=no
=> the Qt4 widget will NOT be built
Unable to execute 'make -j 1'. HINT: are you sure make
is installed?
error: [Errno 2] No such file or directory: 'make': 'make'
Failed building wheel for fastzbarlight
Running setup.py clean for fastzbarlight
Running setup.py bdist_wheel for go-vncdriver ... error
Complete output from command /opt/conda/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-khj4ylia/go-vncdriver/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-781q7xkk --python-tag cp36:
running bdist_wheel
running build
Running new build
Could not build go_vncdriver: Could not find libjpeg. HINT: try 'sudo apt-get install libjpeg-turbo8-dev' on Ubuntu or 'brew install libjpeg-turbo' on OSX
Traceback (most recent call last):
File "/tmp/pip-install-khj4ylia/go-vncdriver/build.py", line 54, in build
output = subprocess.check_output(['ld', '-ljpeg', '--trace-symbol', 'jpeg_CreateDecompress', '-e', '0'], stderr=subprocess.STDOUT)
File "/opt/conda/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/opt/conda/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ld', '-ljpeg', '--trace-symbol', 'jpeg_CreateDecompress', '-e', '0']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-khj4ylia/go-vncdriver/setup.py", line 75, in
install_requires=['numpy'],
File "/opt/conda/lib/python3.6/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/opt/conda/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/conda/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 202, in run
self.run_command('build')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-install-khj4ylia/go-vncdriver/setup.py", line 23, in run
self.build()
File "/tmp/pip-install-khj4ylia/go-vncdriver/setup.py", line 61, in build
build.build()
File "/tmp/pip-install-khj4ylia/go-vncdriver/build.py", line 57, in build
raise BuildException("Could not find libjpeg. HINT: try 'sudo apt-get install libjpeg-turbo8-dev' on Ubuntu or 'brew install libjpeg-turbo' on OSX")
build.BuildException: Could not find libjpeg. HINT: try 'sudo apt-get install libjpeg-turbo8-dev' on Ubuntu or 'brew install libjpeg-turbo' on OSX
Failed building wheel for go-vncdriver
Running setup.py clean for go-vncdriver
Running setup.py bdist_wheel for gym ... done
Stored in directory: /root/.cache/pip/wheels/e2/0e/9a/758e93d957d3665bdeafb3e04837e063fff8279151f34d651d
Running setup.py bdist_wheel for twisted ... done
Stored in directory: /root/.cache/pip/wheels/a9/85/24/fc82998fb686cb31e65a26c027a20120fd1219c9f1e925913a
Running setup.py bdist_wheel for ujson ... done
Stored in directory: /root/.cache/pip/wheels/28/77/e4/0311145b9c2e2f01470e744855131f9e34d6919687550f87d1
Successfully built universe gym twisted ujson
Failed to build fastzbarlight go-vncdriver
mxnet 1.3.0.post0 has requirement requests<2.19.0,>=2.18.4, but you'll have requests 2.10.0 which is incompatible.
Installing collected packages: txaio, autobahn, websocket-client, requests, docker-pycreds, docker-py, fastzbarlight, go-vncdriver, gym, zope.interface, constantly, incremental, Automat, hyperlink, PyHamcrest, twisted, ujson, universe
Found existing installation: requests 2.18.4
Uninstalling requests-2.18.4:
Successfully uninstalled requests-2.18.4
Running setup.py install for fastzbarlight ... error
Complete output from command /opt/conda/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-khj4ylia/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-5q6_svqu/install-record.txt --single-version-externally-managed --compile:
running install
running build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... none
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for xmlto... no
checking whether to build EAN symbologies... yes
checking whether to build Code 128 symbology... yes
checking whether to build Code 39 symbology... yes
checking whether to build PDF417 symbology... no
checking whether to build Interleaved 2 of 5 symbology... yes
checking whether to build QR Code... yes
checking for library containing clock_gettime... none required
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for X... disabled
checking for X11/extensions/XShm.h... no
checking for X11/extensions/Xvlib.h... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking jerror.h usability... no
checking jerror.h presence... no
checking for jerror.h... no
checking for jpeg_read_header in -ljpeg... no
checking whether to enable assertions... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memset... yes
checking for atexit... yes
checking for setenv... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating zbar.pc
config.status: creating zbar-gtk.pc
config.status: creating zbar-qt.pc
config.status: creating doc/doxygen.conf
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing doc/version.xml commands
config.status: executing doc/reldate.xml commands
please verify that the detected configuration matches your expectations:
------------------------------------------------------------------------
X --with-x=disabled
pthreads --enable-pthread=yes
v4l --enable-video=no
=> zbarcam video scanner will *NOT* be built
jpeg --with-jpeg=no
=> JPEG image conversions will *NOT* be supported
Magick++ --with-imagemagick=no
=> the zbarimg file scanner will *NOT* be built
Python --with-python=no
GTK+ --with-gtk=no
=> the GTK+ widget will *NOT* be built
Qt4 --with-qt=no
=> the Qt4 widget will *NOT* be built
Unable to execute 'make -j 1'. HINT: are you sure `make` is installed?
error: [Errno 2] No such file or directory: 'make': 'make'
----------------------------------------
Command "/opt/conda/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-khj4ylia/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-5q6_svqu/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-khj4ylia/fastzbarlight/
## jupyter notebook
### Chapter 03
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter02/chapter-2/codeblock# cd ../../..
(base) root@d8857ae56e69:/Deep-Learning-Essentials# ls
Chapter02 Chapter03 Chapter04 Chapter05 Chapter06 Chapter08 LICENSE README.md
(base) root@d8857ae56e69:/Deep-Learning-Essentials# cd Chapter03
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter03# ls
chapter_03
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter03# cd chapter_03/
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter03/chapter_03# ls
pdp_chapter03_MNIST_cnn.py pdp_chapter03_basic_learning.ipynb
pdp_chapter03_activation_functions.ipynb pdp_chapter03_construct_the_network.ipynb
(base) root@d8857ae56e69:/Deep-Learning-Essentials/Chapter03/chapter_03# jupyter notebook --ip=0.0.0.0 --allow-root
[I 11:31:42.169 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 11:31:42.766 NotebookApp] JupyterLab beta preview extension loaded from /opt/conda/lib/python3.6/site-packages/jupyterlab
[I 11:31:42.766 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 11:31:42.782 NotebookApp] Serving notebooks from local directory: /Deep-Learning-Essentials/Chapter03/chapter_03
[I 11:31:42.782 NotebookApp] 0 active kernels
[I 11:31:42.783 NotebookApp] The Jupyter Notebook is running at:
[I 11:31:42.783 NotebookApp] http://d8857ae56e69:8888/?token=05f1666a59f6bc8ee2f319cfc23706c4d0d632781d94ac6d
[I 11:31:42.784 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 11:31:42.786 NotebookApp] No web browser found: could not locate runnable browser.
[C 11:31:42.786 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://d8857ae56e69:8888/?token=05f1666a59f6bc8ee2f319cfc23706c4d0d632781d94ac6d&token=05f1666a59f6bc8ee2f319cfc23706c4d0d632781d94ac6d
[I 11:32:00.918 NotebookApp] 302 GET / (172.17.0.1) 4.79ms
[W 11:32:00.930 NotebookApp] Clearing invalid/expired login cookie username-localhost-8888
<img width="877" alt="jupycha03a.png" src="https://qiita-image-store.s3.amazonaws.com/0/51423/c3754c49-9b68-340d-c9e0-a0f35fd23a68.png">
# 2. dockerを自力で構築する方へ
ここから下は、上記のpullしていただいたdockerをどういう方針で、どういう手順で作ったかを記録します。
上記のdockerを利用する上での参考資料です。本の続きを実行する上では必要ありません。
自力でdocker/anacondaを構築する場合の手順になります。
dockerfileを作る方法ではありません。ごめんなさい。
## docker
ubuntu, debianなどのLinuxを、linux, windows, mac osから共通に利用できる仕組み。
利用するOSの設定を変更せずに利用できるのがよい。
同じ仕様で、大量の人が利用することができる。
ソフトウェアの開発元が公式に対応しているものと、利用者が便利に仕立てたものの両方が利用可能である。今回は、公式に配布しているものを、自分で仕立てて、他の人にも利用できるようにする。
## python
DeepLearningの実習をPhthonで行って来た。
pythonを使う理由は、多くの機械学習の仕組みがpythonで利用できることと、Rなどの統計解析の仕組みもpythonから容易に利用できることがある。
### anaconda
pythonには、2と3という版の違いと、配布方法の違いなどがある。
Anacondaでpython3をこの1年半利用してきた。
Anacondaを利用した理由は、統計解析のライブラリと、JupyterNotebookが初めから入っているからである。
## docker公式配布
ubuntu, debianなどのOSの公式配布,gcc, anacondaなどの言語の公式配布などがある。
これらを利用し、docker-hubに登録することにより、公式配布の質の確認と、変更権を含む幅広い情報の共有ができる。dockerが公式配布するものではなく、それぞれのソフト提供者の公式配布という意味。
### docker pull
docker公式配布の利用は、URLからpullすることで実現する。
### docker Anaconda
anacondaが公式配布しているものを利用。
$ docker pull continuumio/anaconda3
Using default tag: latest
latest: Pulling from continuumio/anaconda3
Digest: sha256:e07b9ca98ac1eeb1179dbf0e0bbcebd87701f8654878d6d8ce164d71746964d1
Status: Image is up to date for continuumio/anaconda3:latest
OgawaKiyoshi-no-MacBook-Pro:docker-toppers ogawakiyoshi$ docker run -it continuumio/anaconda3 /bin/bash
実際にはkeras, tensorflow を利用していた他のpushをpull
## apt
```shell-session
(base) root@d8857ae56e69:/# apt update; apt -y upgrade
(base) root@d8857ae56e69:/# apt install -y procps vim apt-utils sudo
```
## ソース git
```
(base) root@f19e2f06eabb:/# git clone https://github.com/PacktPublishing/Deep-Learning-Essentials
```
## pip
```
(base) root@f19e2f06eabb:/deep-learning-from-scratch-2/ch01# pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 2.0MB/s
distributed 1.21.8 requires msgpack, which is not installed.
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.0
(base) root@da73a1cf3e64:/Deep-Learning-Essentials/Chapter02/chapter-2/codeblock# pip install mxnet
Collecting mxnet
Downloading https://files.pythonhosted.org/packages/71/64/49c5125befd5e0f0e17f115d55cb78080adacbead9d19f253afd0157656a/mxnet-1.3.0.post0-py2.py3-none-manylinux1_x86_64.whl (27.7MB)
100% |████████████████████████████████| 27.8MB 1.8MB/s
Collecting requests<2.19.0,>=2.18.4 (from mxnet)
Downloading https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl (88kB)
100% |████████████████████████████████| 92kB 5.0MB/s
Collecting graphviz<0.9.0,>=0.8.1 (from mxnet)
Downloading https://files.pythonhosted.org/packages/53/39/4ab213673844e0c004bed8a0781a0721a3f6bb23eb8854ee75c236428892/graphviz-0.8.4-py2.py3-none-any.whl
Collecting numpy<1.15.0,>=1.8.2 (from mxnet)
Downloading https://files.pythonhosted.org/packages/18/84/49b7f268741119328aeee0802aafb9bc2e164b36fc312daf83af95dae646/numpy-1.14.6-cp37-cp37m-manylinux1_x86_64.whl (13.8MB)
100% |████████████████████████████████| 13.8MB 5.2MB/s
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<2.19.0,>=2.18.4->mxnet) (2018.8.24)
Collecting urllib3<1.23,>=1.21.1 (from requests<2.19.0,>=2.18.4->mxnet)
Downloading https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl (132kB)
100% |████████████████████████████████| 133kB 10.7MB/s
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests<2.19.0,>=2.18.4->mxnet) (3.0.4)
Collecting idna<2.7,>=2.5 (from requests<2.19.0,>=2.18.4->mxnet)
Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Installing collected packages: urllib3, idna, requests, graphviz, numpy, mxnet
Found existing installation: urllib3 1.23
Uninstalling urllib3-1.23:
Successfully uninstalled urllib3-1.23
Found existing installation: idna 2.7
Uninstalling idna-2.7:
Successfully uninstalled idna-2.7
Found existing installation: requests 2.19.1
Uninstalling requests-2.19.1:
Successfully uninstalled requests-2.19.1
Found existing installation: numpy 1.15.1
Uninstalling numpy-1.15.1:
Successfully uninstalled numpy-1.15.1
Successfully installed graphviz-0.8.4 idna-2.6 mxnet-1.3.0.post0 numpy-1.14.6 requests-2.18.4 urllib3-1.22
```
## error
```
(base) root@da73a1cf3e64:/Deep-Learning-Essentials/Chapter02/chapter-2/codeblock# python cb-mxnet-imperative.py
[07:21:35] src/imperative/./imperative_utils.h:90: GPU support is disabled. Compile MXNet with USE_CUDA=1 to enable GPU support.
Traceback (most recent call last):
File "cb-mxnet-imperative.py", line 3, in <module>
tensor_gpu = mx.nd.zeros((100,), ctx=mx.gpu(0))
File "/opt/conda/lib/python3.7/site-packages/mxnet/ndarray/utils.py", line 67, in zeros
return _zeros_ndarray(shape, ctx, dtype, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/mxnet/ndarray/ndarray.py", line 3750, in zeros
return _internal._zeros(shape=shape, ctx=ctx, dtype=dtype, **kwargs)
File "<string>", line 34, in _zeros
File "/opt/conda/lib/python3.7/site-packages/mxnet/_ctypes/ndarray.py", line 92, in _imperative_invoke
ctypes.byref(out_stypes)))
File "/opt/conda/lib/python3.7/site-packages/mxnet/base.py", line 252, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [07:21:35] src/imperative/imperative.cc:79: Operator _zeros is not implemented for GPU.
Stack trace returned 10 entries:
[bt] (0) /opt/conda/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x1d86a2) [0x7fe6ee2886a2]
[bt] (1) /opt/conda/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x1d8cb8) [0x7fe6ee288cb8]
[bt] (2) /opt/conda/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x2c3bd03) [0x7fe6f0cebd03]
[bt] (3) /opt/conda/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x2c3c533) [0x7fe6f0cec533]
[bt] (4) /opt/conda/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x2b5d57b) [0x7fe6f0c0d57b]
[bt] (5) /opt/conda/lib/python3.7/site-packages/mxnet/libmxnet.so(MXImperativeInvokeEx+0x6f) [0x7fe6f0c0db3f]
[bt] (6) /opt/conda/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call_unix64+0x4c) [0x7fe6fc46dec0]
[bt] (7) /opt/conda/lib/python3.7/lib-dynload/../../libffi.so.6(ffi_call+0x22d) [0x7fe6fc46d87d]
[bt] (8) /opt/conda/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(_ctypes_callproc+0x2ce) [0x7fe6fc682f8e]
[bt] (9) /opt/conda/lib/python3.7/lib-dynload/_ctypes.cpython-37m-x86_64-linux-gnu.so(+0x129c4) [0x7fe6fc6839c4]
```
## 便利 sh
```
(base) root@502e93a537bc:/deeplearning# vi py.sh
```
```sh:py.sh
#!/bin/bash
for f in *.py
do
python $f
done
```
実行権を付与して実行。
```
(base) root@502e93a537bc:/deeplearning# chmod +x py.sh
(base) root@502e93a537bc:/deeplearning# ./py.sh
```
## 横道
他の本のdockerから始めるのも手かも。
```
$ docker pull kaizenjapan/anaconda-keras
$ docker run -it -p 8888:8888 -p 6006:6006 kaizenjapan/anaconda-keras /bin/bash
```
## 困りごと
```
(base) root@a64ea3c3dcfa:/deep_learning_cookbook# pip install -r requirements.txt
Collecting args==0.1.0 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/e5/1c/b701b3f4bd8d3667df8342f311b3efaeab86078a840fb826bd204118cc6b/args-0.1.0.tar.gz
Collecting audioread==2.1.5 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/21/81/d6dfb88379ab03d7f385c5a2e5ed045af0959418c38ce7cc4efc0fba0da2/audioread-2.1.5.tar.gz
Collecting backports.csv==1.0.5 (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/23/01/0b1fce3fd8199fe32338dc66747baad52c7183b7f587128bc77cefde0620/backports.csv-1.0.5-py2.py3-none-any.whl
Collecting beautifulsoup4==4.6.0 (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl (86kB)
100% |████████████████████████████████| 92kB 3.3MB/s
Collecting bleach==1.5.0 (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl
Collecting boto3==1.5.9 (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/1b/ae/0971dbeb724cc7e89ffb1f56c478294201f19578764a8f145419d01f3502/boto3-1.5.9-py2.py3-none-any.whl (128kB)
100% |████████████████████████████████| 133kB 4.7MB/s
Collecting boto==2.48.0 (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/bd/b7/a88a67002b1185ed9a8e8a6ef15266728c2361fcb4f1d02ea331e4c7741d/boto-2.48.0-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 7.5MB/s
Collecting botocore==1.8.23 (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/19/1c/c0ba393d5a4efdb5f65d5bc053a3543f86b2e02119a8cd74b12845cc3ef9/botocore-1.8.23-py2.py3-none-any.whl (4.0MB)
100% |████████████████████████████████| 4.0MB 4.7MB/s
Collecting bs4==0.0.1 (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Collecting bz2file==0.98 (from -r requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/61/39/122222b5e85cd41c391b68a99ee296584b2a2d1d233e7ee32b4532384f2d/bz2file-0.98.tar.gz
Collecting certifi==2017.11.5 (from -r requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/29/9b/25ef61e948321296f029f53c9f67cc2b54e224db509eb67ce17e0df6044a/certifi-2017.11.5-py2.py3-none-any.whl (330kB)
100% |████████████████████████████████| 337kB 6.9MB/s
Requirement already satisfied: chardet==3.0.4 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 18)) (3.0.4)
Collecting click-plugins==1.0.3 (from -r requirements.txt (line 19))
Downloading https://files.pythonhosted.org/packages/77/05/da5c9e19457f20cadfe22c397cd3852577066066f63e40f2baa0831b1693/click-plugins-1.0.3.tar.gz
Requirement already satisfied: click==6.7 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 20)) (6.7)
Collecting cligj==0.4.0 (from -r requirements.txt (line 21))
Downloading https://files.pythonhosted.org/packages/fc/05/e8384e1f7c8689cd1b91818a24cc860077c73368fb285ba53fbd8556ec98/cligj-0.4.0-py3-none-any.whl
Collecting clint==0.5.1 (from -r requirements.txt (line 22))
Downloading https://files.pythonhosted.org/packages/3d/b4/41ecb1516f1ba728f39ee7062b9dac1352d39823f513bb6f9e8aeb86e26d/clint-0.5.1.tar.gz
Requirement already satisfied: cycler==0.10.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 23)) (0.10.0)
Collecting decorator==4.1.2 (from -r requirements.txt (line 24))
Downloading https://files.pythonhosted.org/packages/a1/4e/c42167ba5c3192bed633726d39d7896cc55d4fa3ec4a1fb60cd3a53fc4c7/decorator-4.1.2-py2.py3-none-any.whl
Collecting descartes==1.1.0 (from -r requirements.txt (line 25))
Downloading https://files.pythonhosted.org/packages/e5/b6/1ed2eb03989ae574584664985367ba70cd9cf8b32ee8cad0e8aaeac819f3/descartes-1.1.0-py3-none-any.whl
Collecting docopt==0.6.2 (from -r requirements.txt (line 26))
Downloading https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz
Requirement already satisfied: docutils==0.14 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 27)) (0.14)
Requirement already satisfied: entrypoints==0.2.3 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 28)) (0.2.3)
Collecting enum34==1.1.6 (from -r requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl
Collecting fiona==1.7.11.post1 (from -r requirements.txt (line 30))
Downloading https://files.pythonhosted.org/packages/67/5f/bb390a10c9c3722c69bef7df1e721c604a204106ac4398b534a2018e4901/Fiona-1.7.11.post1.tar.gz (718kB)
100% |████████████████████████████████| 727kB 2.8MB/s
Collecting flickrapi==2.4.0 (from -r requirements.txt (line 31))
Downloading https://files.pythonhosted.org/packages/76/d7/291b7f0f02cf0f59460f7bcc15192905b4c61e13b9fb9263ee86b0a5f647/flickrapi-2.4.0-py2.py3-none-any.whl
Collecting gensim==3.2.0 (from -r requirements.txt (line 32))
Downloading https://files.pythonhosted.org/packages/9f/7e/f8c34a1291edde755c881cb960deff6785d0b7f8eefa6d1583ef4f3abb14/gensim-3.2.0.tar.gz (15.3MB)
100% |████████████████████████████████| 15.3MB 2.4MB/s
Collecting geopandas==0.3.0 (from -r requirements.txt (line 33))
Downloading https://files.pythonhosted.org/packages/0a/0e/8ae74743ed7915ddb7d70cc8dfa8fc0b9b9cc81205c6e288a01915a46192/geopandas-0.3.0-py2.py3-none-any.whl (888kB)
100% |████████████████████████████████| 890kB 14.4MB/s
Requirement already satisfied: h5py==2.8.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 34)) (2.8.0)
Collecting html5lib==0.9999999 (from -r requirements.txt (line 35))
Downloading https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz (889kB)
100% |████████████████████████████████| 890kB 7.9MB/s
Collecting idna==2.6 (from -r requirements.txt (line 36))
Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 6.8MB/s
Requirement already satisfied: imageio==2.4.1 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 37)) (2.4.1)
Collecting internetarchive==1.7.6 (from -r requirements.txt (line 38))
Downloading https://files.pythonhosted.org/packages/9b/01/935985c82ff84880891ef079556c9a3f0afa6451b8645052d211b01576c3/internetarchive-1.7.6-py2.py3-none-any.whl (68kB)
100% |████████████████████████████████| 71kB 9.5MB/s
Collecting ipykernel==4.7.0 (from -r requirements.txt (line 39))
Downloading https://files.pythonhosted.org/packages/91/41/285df5cec77b7762117825035bcb2b28267d2c446144990542aca62051a9/ipykernel-4.7.0-py3-none-any.whl (106kB)
100% |████████████████████████████████| 112kB 7.6MB/s
Requirement already satisfied: ipython-genutils==0.2.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 40)) (0.2.0)
Collecting ipython==6.2.1 (from -r requirements.txt (line 41))
Downloading https://files.pythonhosted.org/packages/e1/87/294b718125085559b56453be87d90777863173470167e5f1d5de20b9eea3/ipython-6.2.1-py3-none-any.whl (745kB)
100% |████████████████████████████████| 747kB 3.2MB/s
Collecting ipywidgets==7.1.0 (from -r requirements.txt (line 42))
Downloading https://files.pythonhosted.org/packages/c3/32/23894afee84f813778e6420e2a76fbecb47a76344fb0d444bcc8cd455716/ipywidgets-7.1.0-py2.py3-none-any.whl (68kB)
100% |████████████████████████████████| 71kB 11.1MB/s
Collecting jedi==0.11.1 (from -r requirements.txt (line 43))
Downloading https://files.pythonhosted.org/packages/50/ca/d71f5a427601c98eadabfd73104cacbec8cc230e8416158decf61a48b0c6/jedi-0.11.1-py2.py3-none-any.whl (250kB)
100% |████████████████████████████████| 256kB 7.7MB/s
Requirement already satisfied: jinja2==2.10 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 44)) (2.10)
Collecting jmespath==0.9.3 (from -r requirements.txt (line 45))
Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
Collecting joblib==0.11 (from -r requirements.txt (line 46))
Downloading https://files.pythonhosted.org/packages/4f/51/870b2ec270fc29c5d89f85353da420606a9cb39fba4747127e7c7d7eb25d/joblib-0.11-py2.py3-none-any.whl (176kB)
100% |████████████████████████████████| 184kB 10.0MB/s
Collecting jsonpatch==1.21 (from -r requirements.txt (line 47))
Downloading https://files.pythonhosted.org/packages/03/2b/79316cdaa736a0c7b2c7815f76883df3970cc66588453ae31f5472e934f9/jsonpatch-1.21-py2.py3-none-any.whl
Collecting jsonpointer==2.0 (from -r requirements.txt (line 48))
Downloading https://files.pythonhosted.org/packages/18/b0/a80d29577c08eea401659254dfaed87f1af45272899e1812d7e01b679bc5/jsonpointer-2.0-py2.py3-none-any.whl
Requirement already satisfied: jsonschema==2.6.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 49)) (2.6.0)
Collecting jupyter-client==5.2.1 (from -r requirements.txt (line 50))
Downloading https://files.pythonhosted.org/packages/f1/07/2293ae32a7bca98f2462ff101b5597c1bd48fabba00299151651ecf09157/jupyter_client-5.2.1-py2.py3-none-any.whl (88kB)
100% |████████████████████████████████| 92kB 7.9MB/s
Requirement already satisfied: jupyter-console==5.2.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 51)) (5.2.0)
Requirement already satisfied: jupyter-core==4.4.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 52)) (4.4.0)
Requirement already satisfied: jupyter==1.0.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 53)) (1.0.0)
Collecting keras==2.1.2 (from -r requirements.txt (line 54))
Downloading https://files.pythonhosted.org/packages/68/89/58ee5f56a9c26957d97217db41780ebedca3154392cb903c3f8a08a52208/Keras-2.1.2-py2.py3-none-any.whl (304kB)
100% |████████████████████████████████| 307kB 7.2MB/s
Collecting librosa==0.6.0 (from -r requirements.txt (line 55))
Downloading https://files.pythonhosted.org/packages/6b/f4/422bfbefd581f74354ef05176aa48558c548243c87e359d91512d4b65523/librosa-0.6.0.tar.gz (1.5MB)
100% |████████████████████████████████| 1.5MB 12.7MB/s
Collecting llvmlite==0.22.0 (from -r requirements.txt (line 56))
Downloading https://files.pythonhosted.org/packages/b4/f4/ddc252b83257bbf3922e47c5042a2e28e68bd36146a932adda3010c48377/llvmlite-0.22.0.tar.gz (98kB)
100% |████████████████████████████████| 102kB 10.5MB/s
Collecting markdown==2.6.11 (from -r requirements.txt (line 57))
Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB)
100% |████████████████████████████████| 81kB 6.2MB/s
Requirement already satisfied: markupsafe==1.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 58)) (1.0)
Collecting matplotlib==2.1.1 (from -r requirements.txt (line 59))
Downloading https://files.pythonhosted.org/packages/50/27/57ab73d1b094540dec1a01d2207613248d8106f3c3f40e8d86f02eb8d18b/matplotlib-2.1.1.tar.gz (36.1MB)
100% |████████████████████████████████| 36.1MB 1.4MB/s
Complete output from command python setup.py egg_info:
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [2.1.1]
python: yes [3.7.0 (default, Jun 28 2018, 13:15:42) [GCC
7.2.0]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.15.1]
six: yes [using six version 1.11.0]
dateutil: yes [using dateutil version 2.7.3]
backports.functools_lru_cache: yes [Not required]
subprocess32: yes [Not required]
pytz: yes [using pytz version 2018.5]
cycler: yes [using cycler version 0.10.0]
tornado: yes [using tornado version 5.1]
pyparsing: yes [using pyparsing version 2.2.0]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: no [The C/C++ header for freetype2 (ft2build.h)
could not be found. You may need to install the
development package.]
png: yes [version 1.6.34]
qhull: yes [pkg-config information for 'libqhull' could not
be found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: no [skipping due to configuration]
toolkits_tests: no [skipping due to configuration]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6; PySide2 not
found]
qt4agg: no [PySide not found; PyQt4 not found]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: no
latex: no
pdftops: no
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
============================================================================
* The following required packages can not be built:
* freetype * Try installing freetype with `apt-get
* install libfreetype6-dev`
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-ir1r0wzh/matplotlib/
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(base) root@a64ea3c3dcfa:/deep_learning_cookbook# pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 12.3MB/s
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.1
(base) root@a64ea3c3dcfa:/deep_learning_cookbook# pip install -r requirements.txt
Collecting args==0.1.0 (from -r requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/e5/1c/b701b3f4bd8d3667df8342f311b3efaeab86078a840fb826bd204118cc6b/args-0.1.0.tar.gz
Collecting audioread==2.1.5 (from -r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/21/81/d6dfb88379ab03d7f385c5a2e5ed045af0959418c38ce7cc4efc0fba0da2/audioread-2.1.5.tar.gz
Collecting backports.csv==1.0.5 (from -r requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/23/01/0b1fce3fd8199fe32338dc66747baad52c7183b7f587128bc77cefde0620/backports.csv-1.0.5-py2.py3-none-any.whl
Collecting beautifulsoup4==4.6.0 (from -r requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl
Collecting bleach==1.5.0 (from -r requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl
Collecting boto3==1.5.9 (from -r requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages/1b/ae/0971dbeb724cc7e89ffb1f56c478294201f19578764a8f145419d01f3502/boto3-1.5.9-py2.py3-none-any.whl
Collecting boto==2.48.0 (from -r requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages/bd/b7/a88a67002b1185ed9a8e8a6ef15266728c2361fcb4f1d02ea331e4c7741d/boto-2.48.0-py2.py3-none-any.whl
Collecting botocore==1.8.23 (from -r requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/19/1c/c0ba393d5a4efdb5f65d5bc053a3543f86b2e02119a8cd74b12845cc3ef9/botocore-1.8.23-py2.py3-none-any.whl
Collecting bs4==0.0.1 (from -r requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Collecting bz2file==0.98 (from -r requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/61/39/122222b5e85cd41c391b68a99ee296584b2a2d1d233e7ee32b4532384f2d/bz2file-0.98.tar.gz
Collecting certifi==2017.11.5 (from -r requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/29/9b/25ef61e948321296f029f53c9f67cc2b54e224db509eb67ce17e0df6044a/certifi-2017.11.5-py2.py3-none-any.whl
Requirement already satisfied: chardet==3.0.4 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 18)) (3.0.4)
Collecting click-plugins==1.0.3 (from -r requirements.txt (line 19))
Using cached https://files.pythonhosted.org/packages/77/05/da5c9e19457f20cadfe22c397cd3852577066066f63e40f2baa0831b1693/click-plugins-1.0.3.tar.gz
Requirement already satisfied: click==6.7 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 20)) (6.7)
Collecting cligj==0.4.0 (from -r requirements.txt (line 21))
Using cached https://files.pythonhosted.org/packages/fc/05/e8384e1f7c8689cd1b91818a24cc860077c73368fb285ba53fbd8556ec98/cligj-0.4.0-py3-none-any.whl
Collecting clint==0.5.1 (from -r requirements.txt (line 22))
Using cached https://files.pythonhosted.org/packages/3d/b4/41ecb1516f1ba728f39ee7062b9dac1352d39823f513bb6f9e8aeb86e26d/clint-0.5.1.tar.gz
Requirement already satisfied: cycler==0.10.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 23)) (0.10.0)
Collecting decorator==4.1.2 (from -r requirements.txt (line 24))
Using cached https://files.pythonhosted.org/packages/a1/4e/c42167ba5c3192bed633726d39d7896cc55d4fa3ec4a1fb60cd3a53fc4c7/decorator-4.1.2-py2.py3-none-any.whl
Collecting descartes==1.1.0 (from -r requirements.txt (line 25))
Using cached https://files.pythonhosted.org/packages/e5/b6/1ed2eb03989ae574584664985367ba70cd9cf8b32ee8cad0e8aaeac819f3/descartes-1.1.0-py3-none-any.whl
Collecting docopt==0.6.2 (from -r requirements.txt (line 26))
Using cached https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz
Requirement already satisfied: docutils==0.14 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 27)) (0.14)
Requirement already satisfied: entrypoints==0.2.3 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 28)) (0.2.3)
Collecting enum34==1.1.6 (from -r requirements.txt (line 29))
Using cached https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl
Collecting fiona==1.7.11.post1 (from -r requirements.txt (line 30))
Using cached https://files.pythonhosted.org/packages/67/5f/bb390a10c9c3722c69bef7df1e721c604a204106ac4398b534a2018e4901/Fiona-1.7.11.post1.tar.gz
Collecting flickrapi==2.4.0 (from -r requirements.txt (line 31))
Using cached https://files.pythonhosted.org/packages/76/d7/291b7f0f02cf0f59460f7bcc15192905b4c61e13b9fb9263ee86b0a5f647/flickrapi-2.4.0-py2.py3-none-any.whl
Collecting gensim==3.2.0 (from -r requirements.txt (line 32))
Using cached https://files.pythonhosted.org/packages/9f/7e/f8c34a1291edde755c881cb960deff6785d0b7f8eefa6d1583ef4f3abb14/gensim-3.2.0.tar.gz
Collecting geopandas==0.3.0 (from -r requirements.txt (line 33))
Using cached https://files.pythonhosted.org/packages/0a/0e/8ae74743ed7915ddb7d70cc8dfa8fc0b9b9cc81205c6e288a01915a46192/geopandas-0.3.0-py2.py3-none-any.whl
Requirement already satisfied: h5py==2.8.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 34)) (2.8.0)
Collecting html5lib==0.9999999 (from -r requirements.txt (line 35))
Using cached https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz
Collecting idna==2.6 (from -r requirements.txt (line 36))
Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Requirement already satisfied: imageio==2.4.1 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 37)) (2.4.1)
Collecting internetarchive==1.7.6 (from -r requirements.txt (line 38))
Using cached https://files.pythonhosted.org/packages/9b/01/935985c82ff84880891ef079556c9a3f0afa6451b8645052d211b01576c3/internetarchive-1.7.6-py2.py3-none-any.whl
Collecting ipykernel==4.7.0 (from -r requirements.txt (line 39))
Using cached https://files.pythonhosted.org/packages/91/41/285df5cec77b7762117825035bcb2b28267d2c446144990542aca62051a9/ipykernel-4.7.0-py3-none-any.whl
Requirement already satisfied: ipython-genutils==0.2.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 40)) (0.2.0)
Collecting ipython==6.2.1 (from -r requirements.txt (line 41))
Using cached https://files.pythonhosted.org/packages/e1/87/294b718125085559b56453be87d90777863173470167e5f1d5de20b9eea3/ipython-6.2.1-py3-none-any.whl
Collecting ipywidgets==7.1.0 (from -r requirements.txt (line 42))
Using cached https://files.pythonhosted.org/packages/c3/32/23894afee84f813778e6420e2a76fbecb47a76344fb0d444bcc8cd455716/ipywidgets-7.1.0-py2.py3-none-any.whl
Collecting jedi==0.11.1 (from -r requirements.txt (line 43))
Using cached https://files.pythonhosted.org/packages/50/ca/d71f5a427601c98eadabfd73104cacbec8cc230e8416158decf61a48b0c6/jedi-0.11.1-py2.py3-none-any.whl
Requirement already satisfied: jinja2==2.10 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 44)) (2.10)
Collecting jmespath==0.9.3 (from -r requirements.txt (line 45))
Using cached https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
Collecting joblib==0.11 (from -r requirements.txt (line 46))
Using cached https://files.pythonhosted.org/packages/4f/51/870b2ec270fc29c5d89f85353da420606a9cb39fba4747127e7c7d7eb25d/joblib-0.11-py2.py3-none-any.whl
Collecting jsonpatch==1.21 (from -r requirements.txt (line 47))
Using cached https://files.pythonhosted.org/packages/03/2b/79316cdaa736a0c7b2c7815f76883df3970cc66588453ae31f5472e934f9/jsonpatch-1.21-py2.py3-none-any.whl
Collecting jsonpointer==2.0 (from -r requirements.txt (line 48))
Using cached https://files.pythonhosted.org/packages/18/b0/a80d29577c08eea401659254dfaed87f1af45272899e1812d7e01b679bc5/jsonpointer-2.0-py2.py3-none-any.whl
Requirement already satisfied: jsonschema==2.6.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 49)) (2.6.0)
Collecting jupyter-client==5.2.1 (from -r requirements.txt (line 50))
Using cached https://files.pythonhosted.org/packages/f1/07/2293ae32a7bca98f2462ff101b5597c1bd48fabba00299151651ecf09157/jupyter_client-5.2.1-py2.py3-none-any.whl
Requirement already satisfied: jupyter-console==5.2.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 51)) (5.2.0)
Requirement already satisfied: jupyter-core==4.4.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 52)) (4.4.0)
Requirement already satisfied: jupyter==1.0.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 53)) (1.0.0)
Collecting keras==2.1.2 (from -r requirements.txt (line 54))
Using cached https://files.pythonhosted.org/packages/68/89/58ee5f56a9c26957d97217db41780ebedca3154392cb903c3f8a08a52208/Keras-2.1.2-py2.py3-none-any.whl
Collecting librosa==0.6.0 (from -r requirements.txt (line 55))
Using cached https://files.pythonhosted.org/packages/6b/f4/422bfbefd581f74354ef05176aa48558c548243c87e359d91512d4b65523/librosa-0.6.0.tar.gz
Collecting llvmlite==0.22.0 (from -r requirements.txt (line 56))
Using cached https://files.pythonhosted.org/packages/b4/f4/ddc252b83257bbf3922e47c5042a2e28e68bd36146a932adda3010c48377/llvmlite-0.22.0.tar.gz
Collecting markdown==2.6.11 (from -r requirements.txt (line 57))
Using cached https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl
Requirement already satisfied: markupsafe==1.0 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 58)) (1.0)
Collecting matplotlib==2.1.1 (from -r requirements.txt (line 59))
Using cached https://files.pythonhosted.org/packages/50/27/57ab73d1b094540dec1a01d2207613248d8106f3c3f40e8d86f02eb8d18b/matplotlib-2.1.1.tar.gz
Complete output from command python setup.py egg_info:
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [2.1.1]
python: yes [3.7.0 (default, Jun 28 2018, 13:15:42) [GCC
7.2.0]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.15.1]
six: yes [using six version 1.11.0]
dateutil: yes [using dateutil version 2.7.3]
backports.functools_lru_cache: yes [Not required]
subprocess32: yes [Not required]
pytz: yes [using pytz version 2018.5]
cycler: yes [using cycler version 0.10.0]
tornado: yes [using tornado version 5.1]
pyparsing: yes [using pyparsing version 2.2.0]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: no [The C/C++ header for freetype2 (ft2build.h)
could not be found. You may need to install the
development package.]
png: yes [version 1.6.34]
qhull: yes [pkg-config information for 'libqhull' could not
be found. Using local copy.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: no [skipping due to configuration]
toolkits_tests: no [skipping due to configuration]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6; PySide2 not
found]
qt4agg: no [PySide not found; PyQt4 not found]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: yes [installing; run-time loading from Python Tcl /
Tk]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairocffi or pycairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: no
latex: no
pdftops: no
OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]
============================================================================
* The following required packages can not be built:
* freetype * Try installing freetype with `apt-get
* install libfreetype6-dev`
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-8f7x1u95/matplotlib/
(base) root@a64ea3c3dcfa:/deep_learning_cookbook# apt-get install freetype
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package freetype
(base) root@a64ea3c3dcfa:/deep_learning_cookbook# conda install pyside
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- pyside -> python=2.6
- python=3
Use "conda info <package>" to see the dependencies for each package.
(base) root@a64ea3c3dcfa:/deep_learning_cookbook# conda info pyside
pyside 1.1.2 py26_0
-------------------
file name : pyside-1.1.2-py26_0.tar.bz2
name : pyside
version : 1.1.2
build string: py26_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/linux-64
size : 5.5 MB
arch : x86_64
constrains : ()
date : 2013-02-14
license_family: LGPL
md5 : 11fa88db2590da4cf5be53ceeec39cbf
platform : linux
subdir : linux-64
url : https://repo.anaconda.com/pkgs/free/linux-64/pyside-1.1.2-py26_0.tar.bz2
dependencies:
libpng
python 2.6*
qt 4.7.4
shiboken
pyside 1.1.2 py27_0
-------------------
file name : pyside-1.1.2-py27_0.tar.bz2
name : pyside
version : 1.1.2
build string: py27_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/linux-64
size : 5.5 MB
arch : x86_64
constrains : ()
date : 2012-10-25
license_family: LGPL
md5 : e423250a32310b69f25c84d8ee7426c0
platform : linux
subdir : linux-64
url : https://repo.anaconda.com/pkgs/free/linux-64/pyside-1.1.2-py27_0.tar.bz2
dependencies:
libpng
python 2.7*
qt 4.7.4
shiboken
pyside 1.2.0 py27_0
-------------------
file name : pyside-1.2.0-py27_0.tar.bz2
name : pyside
version : 1.2.0
build string: py27_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/linux-64
size : 5.6 MB
arch : x86_64
constrains : ()
date : 2013-08-01
license_family: LGPL
md5 : 914fdac952bb3983ea4956050018d514
platform : linux
subdir : linux-64
url : https://repo.anaconda.com/pkgs/free/linux-64/pyside-1.2.0-py27_0.tar.bz2
dependencies:
libpng
python 2.7*
qt
shiboken
pyside 1.2.1 py27_0
-------------------
file name : pyside-1.2.1-py27_0.tar.bz2
name : pyside
version : 1.2.1
build string: py27_0
build number: 0
channel : https://repo.anaconda.com/pkgs/free/linux-64
size : 5.6 MB
arch : x86_64
constrains : ()
date : 2013-08-19
license_family: LGPL
md5 : 12562340f6b91dd5f390614a991a67c8
platform : linux
subdir : linux-64
url : https://repo.anaconda.com/pkgs/free/linux-64/pyside-1.2.1-py27_0.tar.bz2
dependencies:
libpng
python 2.7*
qt 4.8.5
shiboken
pyside 1.2.1 py27_1
-------------------
file name : pyside-1.2.1-py27_1.tar.bz2
name : pyside
version : 1.2.1
build string: py27_1
build number: 1
channel : https://repo.anaconda.com/pkgs/free/linux-64
size : 5.6 MB
arch : x86_64
constrains : ()
date : 2014-07-26
license_family: LGPL
md5 : c70501901c0d8b31f8ada5adba4524b0
platform : linux
subdir : linux-64
url : https://repo.anaconda.com/pkgs/free/linux-64/pyside-1.2.1-py27_1.tar.bz2
dependencies:
libpng
python 2.7*
qt 4.8.5
shiboken
```
#3.docker hub 登録
ここからは、新たにソフトを導入したdockerを自分のhubに登録する方法です。
ご自身で何かソフトウェアを導入されたら、ぜひhubに登録することをお勧めします。
続きの作業を誰かに依頼したり、エラーがでてわからなくなったときに、対処方法を問い合わせるのにも役立ちます。
```
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b28c065c8b45 continuumio/anaconda3 "/usr/bin/tini -- /b…" 21 hours ago Up 21 hours elegant_gates
$ docker commit b28c065c8b45 kaizenjapan/anaconda-deep-1
sha256:2d26c8621bf9cc3c2400477a9db98bb21a953fdbe53c22da395ca4a80b15261f
$ docker push kaizenjapan/anaconda-deep-1
The push refers to repository [docker.io/kaizenjapan/anaconda-deep-1]
b6d479cc3a0f: Pushing [==> ] 68.41MB/1.453GB
6410333f34cf: Mounted from kaizenjapan/anaconda-keras-ten
cf342e34eca3: Mounted from kaizenjapan/anaconda-keras-ten
cea95006e36a: Mounted from kaizenjapan/anaconda-keras-ten
0f3a12fef684: Mounted from kaizenjapan/anaconda-keras-ten
```
## python2
```
(base) root@2a54d76f43e9:/deep_learning_cookbook# pip install -r requirements.txt
Collecting args==0.1.0 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/e5/1c/b701b3f4bd8d3667df8342f311b3efaeab86078a840fb826bd204118cc6b/args-0.1.0.tar.gz
Collecting audioread==2.1.5 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/21/81/d6dfb88379ab03d7f385c5a2e5ed045af0959418c38ce7cc4efc0fba0da2/audioread-2.1.5.tar.gz
Collecting backports.csv==1.0.5 (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/23/01/0b1fce3fd8199fe32338dc66747baad52c7183b7f587128bc77cefde0620/backports.csv-1.0.5-py2.py3-none-any.whl
Collecting beautifulsoup4==4.6.0 (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/a6/29/bcbd41a916ad3faf517780a0af7d0254e8d6722ff6414723eedba4334531/beautifulsoup4-4.6.0-py2-none-any.whl (86kB)
100% |████████████████████████████████| 92kB 4.5MB/s
Collecting bleach==1.5.0 (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f821e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl
Collecting boto3==1.5.9 (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/1b/ae/0971dbeb724cc7e89ffb1f56c478294201f19578764a8f145419d01f3502/boto3-1.5.9-py2.py3-none-any.whl (128kB)
100% |████████████████████████████████| 133kB 7.4MB/s
Collecting boto==2.48.0 (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/bd/b7/a88a67002b1185ed9a8e8a6ef15266728c2361fcb4f1d02ea331e4c7741d/boto-2.48.0-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 6.8MB/s
Collecting botocore==1.8.23 (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/19/1c/c0ba393d5a4efdb5f65d5bc053a3543f86b2e02119a8cd74b12845cc3ef9/botocore-1.8.23-py2.py3-none-any.whl (4.0MB)
100% |████████████████████████████████| 4.0MB 5.8MB/s
Collecting bs4==0.0.1 (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Collecting bz2file==0.98 (from -r requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/61/39/122222b5e85cd41c391b68a99ee296584b2a2d1d233e7ee32b4532384f2d/bz2file-0.98.tar.gz
Collecting certifi==2017.11.5 (from -r requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/29/9b/25ef61e948321296f029f53c9f67cc2b54e224db509eb67ce17e0df6044a/certifi-2017.11.5-py2.py3-none-any.whl (330kB)
100% |████████████████████████████████| 337kB 10.2MB/s
Requirement already satisfied: chardet==3.0.4 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 18)) (3.0.4)
Collecting click-plugins==1.0.3 (from -r requirements.txt (line 19))
Downloading https://files.pythonhosted.org/packages/77/05/da5c9e19457f20cadfe22c397cd3852577066066f63e40f2baa0831b1693/click-plugins-1.0.3.tar.gz
Requirement already satisfied: click==6.7 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 20)) (6.7)
Collecting cligj==0.4.0 (from -r requirements.txt (line 21))
Downloading https://files.pythonhosted.org/packages/e8/c1/d2a5a83f1bf59b820b5ffb0c63fc31d13279d7b985f260c1f8c5ca1693d0/cligj-0.4.0-py2-none-any.whl
Collecting clint==0.5.1 (from -r requirements.txt (line 22))
Downloading https://files.pythonhosted.org/packages/3d/b4/41ecb1516f1ba728f39ee7062b9dac1352d39823f513bb6f9e8aeb86e26d/clint-0.5.1.tar.gz
Requirement already satisfied: cycler==0.10.0 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 23)) (0.10.0)
Collecting decorator==4.1.2 (from -r requirements.txt (line 24))
Downloading https://files.pythonhosted.org/packages/a1/4e/c42167ba5c3192bed633726d39d7896cc55d4fa3ec4a1fb60cd3a53fc4c7/decorator-4.1.2-py2.py3-none-any.whl
Collecting descartes==1.1.0 (from -r requirements.txt (line 25))
Downloading https://files.pythonhosted.org/packages/e7/29/b23b57c92a1cf58da25070c10cab90fb38de22523ef7bdc76acdad717645/descartes-1.1.0-py2-none-any.whl
Collecting docopt==0.6.2 (from -r requirements.txt (line 26))
Downloading https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz
Requirement already satisfied: docutils==0.14 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 27)) (0.14)
Requirement already satisfied: entrypoints==0.2.3 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 28)) (0.2.3)
Requirement already satisfied: enum34==1.1.6 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 29)) (1.1.6)
Collecting fiona==1.7.11.post1 (from -r requirements.txt (line 30))
Downloading https://files.pythonhosted.org/packages/fb/0f/57c9733480e365189328064116d0c8ae10351a6d000d9a0c07aad239f016/Fiona-1.7.11.post1-cp27-cp27mu-manylinux1_x86_64.whl (13.5MB)
100% |████████████████████████████████| 13.5MB 1.3MB/s
Collecting flickrapi==2.4.0 (from -r requirements.txt (line 31))
Downloading https://files.pythonhosted.org/packages/76/d7/291b7f0f02cf0f59460f7bcc15192905b4c61e13b9fb9263ee86b0a5f647/flickrapi-2.4.0-py2.py3-none-any.whl
Collecting gensim==3.2.0 (from -r requirements.txt (line 32))
Downloading https://files.pythonhosted.org/packages/32/5a/2c8fd6c1a5ade3ca4e48f1c97e8a25be72a097fb181e233446354d71ed00/gensim-3.2.0-cp27-cp27mu-manylinux1_x86_64.whl (15.9MB)
100% |████████████████████████████████| 15.9MB 2.1MB/s
Collecting geopandas==0.3.0 (from -r requirements.txt (line 33))
Downloading https://files.pythonhosted.org/packages/0a/0e/8ae74743ed7915ddb7d70cc8dfa8fc0b9b9cc81205c6e288a01915a46192/geopandas-0.3.0-py2.py3-none-any.whl (888kB)
100% |████████████████████████████████| 890kB 12.1MB/s
Requirement already satisfied: h5py==2.8.0 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 34)) (2.8.0)
Collecting html5lib==0.9999999 (from -r requirements.txt (line 35))
Downloading https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2cd17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz (889kB)
100% |████████████████████████████████| 890kB 17.2MB/s
Collecting idna==2.6 (from -r requirements.txt (line 36))
Downloading https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 6.7MB/s
Requirement already satisfied: imageio==2.4.1 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 37)) (2.4.1)
Collecting internetarchive==1.7.6 (from -r requirements.txt (line 38))
Downloading https://files.pythonhosted.org/packages/9b/01/935985c82ff84880891ef079556c9a3f0afa6451b8645052d211b01576c3/internetarchive-1.7.6-py2.py3-none-any.whl (68kB)
100% |████████████████████████████████| 71kB 7.9MB/s
Collecting ipykernel==4.7.0 (from -r requirements.txt (line 39))
Downloading https://files.pythonhosted.org/packages/90/94/84d86cbfd1d62b3013a64ddccfb07b1ea189e0d51ee2c77bd891308670bc/ipykernel-4.7.0-py2-none-any.whl (106kB)
100% |████████████████████████████████| 112kB 9.9MB/s
Requirement already satisfied: ipython-genutils==0.2.0 in /opt/conda/lib/python2.7/site-packages (from -r requirements.txt (line 40)) (0.2.0)
Collecting ipython==6.2.1 (from -r requirements.txt (line 41))
Could not find a version that satisfies the requirement ipython==6.2.1 (from -r requirements.txt (line 41)) (from versions: 0.10, 0.10.1, 0.10.2, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.13.2, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 4.0.0b1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.1.0rc1, 4.1.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 5.0.0b1, 5.0.0b2, 5.0.0b3, 5.0.0b4, 5.0.0rc1, 5.0.0, 5.1.0, 5.2.0, 5.2.1, 5.2.2, 5.3.0, 5.4.0, 5.4.1, 5.5.0, 5.6.0, 5.7.0, 5.8.0)
No matching distribution found for ipython==6.2.1 (from -r requirements.txt (line 41))
```
# 参考資料(reference)
なぜdockerで機械学習するか 書籍・ソース一覧作成中 (目標100)
https://qiita.com/kaizen_nagoya/items/ddd12477544bf5ba85e2
dockerで機械学習(python:anaconda)「直感Deep Learning」Antonio Gulli、Sujit Pal 第1章,第2章
https://qiita.com/kaizen_nagoya/items/483ae708c71c88419c32
OpenCVをPythonで動かそうとしてlibGL.soが無いって言われたけど解決した。
https://qiita.com/toshitanian/items/5da24c0c0bd473d514c8
サーバサイドにおけるmatplotlibによる作図Tips
https://qiita.com/TomokIshii/items/3a26ee4453f535a69e9e
Dockerでホストとコンテナ間でのファイルコピー
https://qiita.com/gologo13/items/7e4e404af80377b48fd5
Docker for Mac でファイル共有を利用する
https://qiita.com/seijimomoto/items/1992d68de8baa7e29bb5
「名古屋のIoTは名古屋のOSで」Dockerをどっかーらどうやって使えばいいんでしょう。TOPPERS/FMP on RaspberryPi with Macintosh編 5つの関門
https://qiita.com/kaizen_nagoya/items/9c46c6da8ceb64d2d7af
64bitCPUへの道 and/or 64歳の決意
https://qiita.com/kaizen_nagoya/items/cfb5ffa24ded23ab3f60
ゼロから作るDeepLearning2自然言語処理編 読書会の進め方(例)
https://qiita.com/kaizen_nagoya/items/025eb3f701b36209302e
Ubuntu 16.04 LTS で NVIDIA Docker を使ってみる
https://blog.amedama.jp/entry/2017/04/03/235901
Ethernet 記事一覧 Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794
Wireshark 一覧 wireshark(0)、Ethernet(48)
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0
線網(Wi-Fi)空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001
C++ Support(0)
https://qiita.com/kaizen_nagoya/items/8720d26f762369a80514
Coding Rules(0) C Secure , MISRA and so on
https://qiita.com/kaizen_nagoya/items/400725644a8a0e90fbb0
Autosar Guidelines C++14 example code compile list(1-169)
https://qiita.com/kaizen_nagoya/items/8ccbf6675c3494d57a76
Error一覧(C/C++, python, bash...) Error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8
なぜdockerで機械学習するか 書籍・ソース一覧作成中 (目標100)
https://qiita.com/kaizen_nagoya/items/ddd12477544bf5ba85e2
言語処理100本ノックをdockerで。python覚えるのに最適。:10+12
https://qiita.com/kaizen_nagoya/items/7e7eb7c543e0c18438c4
プログラムちょい替え(0)一覧:4件
https://qiita.com/kaizen_nagoya/items/296d87ef4bfd516bc394
一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39
官公庁・学校・公的団体(NPOを含む)システムの課題、官(0)
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3
プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945
LaTeX(0) 一覧
https://qiita.com/kaizen_nagoya/items/e3f7dafacab58c499792
自動制御、制御工学一覧(0)
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b
Rust(0) 一覧
https://qiita.com/kaizen_nagoya/items/5e8bb080ba6ca0281927
小川清最終講義、最終講義(再)計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53
### 文書履歴(document history)
ver. 0.10 初稿 20181014 昼
ver. 0.11 python, pip 処理追記 20181014 夕
ver. 0.12 「NvidiaのGPUを利用している機材では、nvidia-dockerを導入して利用してみるとよい。近日中に対応予定。」追記 20181014 夜
### 最後までおよみいただきありがとうございました。
いいね 💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚 and follow me for your happy life.