docker(23) Open jij導入失敗

docker で anaconda3を起動。

```shell-session:macOS
$ docker run -p 8888:8888 -it continuumio/anaconda3 /bin/bash
```
openjij導入

```shell-session:macOS
# conda install openjij
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - openjij

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/linux-64
  - https://repo.anaconda.com/pkgs/pro/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
```
condaにはないらしい。pipで導入

```shell-session:ubuntu
(base) root@45002713ccc2:/# pip install openjij
Collecting openjij
  Downloading https://files.pythonhosted.org/packages/32/fc/f7e98f470e1098a7cd9379145978a0aa44c2d6e4efd7e8d6f096f2398192/openjij-0.0.7.tar.gz (80kB)
    100% |████████████████████████████████| 81kB 2.4MB/s 
Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from openjij) (1.15.4)
Requirement already satisfied: requests in /opt/conda/lib/python3.7/site-packages (from openjij) (2.21.0)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (3.0.4)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (1.24.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (2018.11.29)
Building wheels for collected packages: openjij
  Running setup.py bdist_wheel for openjij ... error
  Complete output from command /opt/conda/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-r1bqehgj/openjij/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-ihkj5hjl --python-tag cp37:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/openjij
  copying openjij/__version.py -> build/lib.linux-x86_64-3.7/openjij
  copying openjij/utils.py -> build/lib.linux-x86_64-3.7/openjij
  copying openjij/__init__.py -> build/lib.linux-x86_64-3.7/openjij
  creating build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/model.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/king_graph.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/__init__.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/chimera_model.py -> build/lib.linux-x86_64-3.7/openjij/model
  creating build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/cmos_annealer.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/response.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/__init__.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/gpu_sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  running build_ext
  Traceback (most recent call last):
    File "/tmp/pip-install-r1bqehgj/openjij/setup.py", line 31, in run
      out = subprocess.check_output(['cmake', '--version'])
    File "/opt/conda/lib/python3.7/subprocess.py", line 389, in check_output
      **kwargs).stdout
    File "/opt/conda/lib/python3.7/subprocess.py", line 466, in run
      with Popen(*popenargs, **kwargs) as process:
    File "/opt/conda/lib/python3.7/subprocess.py", line 769, in __init__
      restore_signals, start_new_session)
    File "/opt/conda/lib/python3.7/subprocess.py", line 1516, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-r1bqehgj/openjij/setup.py", line 126, in <module>
      zip_safe=False
    File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
      return distutils.core.setup(**attrs)
    File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-r1bqehgj/openjij/setup.py", line 34, in run
      ", ".join(e.name for e in self.extensions))
  RuntimeError: CMake must be installed to build the following extensions: cxxjij
  
  ----------------------------------------
  Failed building wheel for openjij
  Running setup.py clean for openjij
Failed to build openjij
Installing collected packages: openjij
  Running setup.py install for openjij ... error
    Complete output from command /opt/conda/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-r1bqehgj/openjij/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-8gzkp3mq/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/openjij
    copying openjij/__version.py -> build/lib.linux-x86_64-3.7/openjij
    copying openjij/utils.py -> build/lib.linux-x86_64-3.7/openjij
    copying openjij/__init__.py -> build/lib.linux-x86_64-3.7/openjij
    creating build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/model.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/king_graph.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/__init__.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/chimera_model.py -> build/lib.linux-x86_64-3.7/openjij/model
    creating build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/cmos_annealer.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/response.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/__init__.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/gpu_sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    running build_ext
    Traceback (most recent call last):
      File "/tmp/pip-install-r1bqehgj/openjij/setup.py", line 31, in run
        out = subprocess.check_output(['cmake', '--version'])
      File "/opt/conda/lib/python3.7/subprocess.py", line 389, in check_output
        **kwargs).stdout
      File "/opt/conda/lib/python3.7/subprocess.py", line 466, in run
        with Popen(*popenargs, **kwargs) as process:
      File "/opt/conda/lib/python3.7/subprocess.py", line 769, in __init__
        restore_signals, start_new_session)
      File "/opt/conda/lib/python3.7/subprocess.py", line 1516, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-r1bqehgj/openjij/setup.py", line 126, in <module>
        zip_safe=False
      File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
        return distutils.core.setup(**attrs)
      File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/opt/conda/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-r1bqehgj/openjij/setup.py", line 34, in run
        ", ".join(e.name for e in self.extensions))
    RuntimeError: CMake must be installed to build the following extensions: cxxjij
    
    ----------------------------------------
Command "/opt/conda/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-r1bqehgj/openjij/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-8gzkp3mq/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-r1bqehgj/openjij/
```
pipが古いといけないと思い、更新。


```shell-session:ubuntu
# pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 8.6MB/s 
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-19.1.1
(base) root@45002713ccc2:/# pip install openjij
Collecting openjij
  Using cached https://files.pythonhosted.org/packages/32/fc/f7e98f470e1098a7cd9379145978a0aa44c2d6e4efd7e8d6f096f2398192/openjij-0.0.7.tar.gz
Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from openjij) (1.15.4)
Requirement already satisfied: requests in /opt/conda/lib/python3.7/site-packages (from openjij) (2.21.0)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (1.24.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (2018.11.29)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (3.0.4)
Building wheels for collected packages: openjij
  Building wheel for openjij (setup.py) ... error
  ERROR: Complete output from command /opt/conda/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-x_x5e3zq/openjij/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-xl4mry66 --python-tag cp37:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/openjij
  copying openjij/__version.py -> build/lib.linux-x86_64-3.7/openjij
  copying openjij/utils.py -> build/lib.linux-x86_64-3.7/openjij
  copying openjij/__init__.py -> build/lib.linux-x86_64-3.7/openjij
  creating build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/model.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/king_graph.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/__init__.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/chimera_model.py -> build/lib.linux-x86_64-3.7/openjij/model
  creating build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/cmos_annealer.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/response.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/__init__.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/gpu_sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  running build_ext
  Traceback (most recent call last):
    File "/tmp/pip-install-x_x5e3zq/openjij/setup.py", line 31, in run
      out = subprocess.check_output(['cmake', '--version'])
    File "/opt/conda/lib/python3.7/subprocess.py", line 389, in check_output
      **kwargs).stdout
    File "/opt/conda/lib/python3.7/subprocess.py", line 466, in run
      with Popen(*popenargs, **kwargs) as process:
    File "/opt/conda/lib/python3.7/subprocess.py", line 769, in __init__
      restore_signals, start_new_session)
    File "/opt/conda/lib/python3.7/subprocess.py", line 1516, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-x_x5e3zq/openjij/setup.py", line 126, in <module>
      zip_safe=False
    File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
      return distutils.core.setup(**attrs)
    File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-x_x5e3zq/openjij/setup.py", line 34, in run
      ", ".join(e.name for e in self.extensions))
  RuntimeError: CMake must be installed to build the following extensions: cxxjij
  ----------------------------------------
  ERROR: Failed building wheel for openjij
  Running setup.py clean for openjij
Failed to build openjij
Installing collected packages: openjij
  Running setup.py install for openjij ... error
    ERROR: Complete output from command /opt/conda/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-x_x5e3zq/openjij/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-gk_4jydq/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/openjij
    copying openjij/__version.py -> build/lib.linux-x86_64-3.7/openjij
    copying openjij/utils.py -> build/lib.linux-x86_64-3.7/openjij
    copying openjij/__init__.py -> build/lib.linux-x86_64-3.7/openjij
    creating build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/model.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/king_graph.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/__init__.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/chimera_model.py -> build/lib.linux-x86_64-3.7/openjij/model
    creating build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/cmos_annealer.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/response.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/__init__.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/gpu_sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    running build_ext
    Traceback (most recent call last):
      File "/tmp/pip-install-x_x5e3zq/openjij/setup.py", line 31, in run
        out = subprocess.check_output(['cmake', '--version'])
      File "/opt/conda/lib/python3.7/subprocess.py", line 389, in check_output
        **kwargs).stdout
      File "/opt/conda/lib/python3.7/subprocess.py", line 466, in run
        with Popen(*popenargs, **kwargs) as process:
      File "/opt/conda/lib/python3.7/subprocess.py", line 769, in __init__
        restore_signals, start_new_session)
      File "/opt/conda/lib/python3.7/subprocess.py", line 1516, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-x_x5e3zq/openjij/setup.py", line 126, in <module>
        zip_safe=False
      File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
        return distutils.core.setup(**attrs)
      File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/opt/conda/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-x_x5e3zq/openjij/setup.py", line 34, in run
        ", ".join(e.name for e in self.extensions))
    RuntimeError: CMake must be installed to build the following extensions: cxxjij
    ----------------------------------------
ERROR: Command "/opt/conda/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-x_x5e3zq/openjij/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-gk_4jydq/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-x_x5e3zq/openjij/
```
最初のエラーはcmakeがない。そりゃ、dockerのubuntuなんにもない。

```shell-session:ubuntu
# apt install cmake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  binutils cmake-data cpp cpp-6 gcc gcc-6 libarchive13 libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libgcc-6-dev libgomp1 libisl15 libitm1 libjsoncpp1 liblsan0 liblzo2-2 libmpc3 libmpfr4 libmpx2
  libprocps6 libquadmath0 libtsan0 libubsan0 libuv1 linux-libc-dev make manpages manpages-dev procps psmisc
Suggested packages:
  binutils-doc codeblocks eclipse ninja-build cpp-doc gcc-6-locales gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg lrzip glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils cmake cmake-data cpp cpp-6 gcc gcc-6 libarchive13 libasan3 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libgcc-6-dev libgomp1 libisl15 libitm1 libjsoncpp1 liblsan0 liblzo2-2 libmpc3 libmpfr4 libmpx2
  libprocps6 libquadmath0 libtsan0 libubsan0 libuv1 linux-libc-dev make manpages manpages-dev procps psmisc
0 upgraded, 35 newly installed, 0 to remove and 22 not upgraded.
Need to get 34.7 MB of archives.
After this operation, 145 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 cmake-data all 3.7.2-1 [1216 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libprocps6 amd64 2:3.3.12-3+deb9u1 [58.5 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 procps amd64 2:3.3.12-3+deb9u1 [250 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 liblzo2-2 amd64 2.08-1.2+b2 [55.0 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 libuv1 amd64 1.9.1-3 [84.4 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 cmake amd64 3.7.2-1 [3038 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 manpages all 4.10-2 [1222 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3770 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 libmpc3 amd64 1.0.3-1+b2 [39.9 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 cpp-6 amd64 6.3.0-18+deb9u1 [6584 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 cpp amd64 4:6.3.0-4 [18.7 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 libgomp1 amd64 6.3.0-18+deb9u1 [73.3 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 libatomic1 amd64 6.3.0-18+deb9u1 [8966 B]
Get:19 http://deb.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB]
Get:24 http://deb.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libquadmath0 amd64 6.3.0-18+deb9u1 [131 kB]
Get:26 http://deb.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2296 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6900 kB]
Get:28 http://security.debian.org/debian-security stretch/updates/main amd64 libarchive13 amd64 3.2.2-2+deb9u1 [294 kB]
Get:29 http://deb.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5196 B]
Err:30 http://deb.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3
  404  Not Found
Err:31 http://deb.debian.org/debian stretch/main amd64 linux-libc-dev amd64 4.9.130-2
  404  Not Found
Err:32 http://deb.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3
  404  Not Found
Get:33 http://deb.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB]
Get:34 http://deb.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2145 kB]
Get:35 http://deb.debian.org/debian stretch/main amd64 psmisc amd64 22.21-2.1+b2 [123 kB]
Fetched 30.7 MB in 3s (8113 kB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc-dev-bin_2.24-11+deb9u3_amd64.deb  404  Not Found
E: Failed to fetch http://deb.debian.org/debian/pool/main/l/linux/linux-libc-dev_4.9.130-2_amd64.deb  404  Not Found
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glibc/libc6-dev_2.24-11+deb9u3_amd64.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
そういや、ubuntuでaptのupdate, upgradeしてなかった。

```
(base) root@45002713ccc2:/# apt update
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [499 kB]
Ign:3 http://deb.debian.org/debian stretch InRelease   
Get:4 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://deb.debian.org/debian stretch Release [118 kB]
Get:6 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [10.1 kB]
Get:7 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages [27.2 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 Packages [7082 kB]
Fetched 7924 kB in 4s (1666 kB/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
(base) root@45002713ccc2:/# apt -y upgrade 
```

```
# apt install cmake　
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cmake　
```

docker起動しなおし。

```
$ docker run -p 8888:8888 -it continuumio/anaconda3 /bin/bash
```
apt updateからはじめてもダメだった。

```
(base) root@2cae175410fc:/# apt update
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [499 kB]
Ign:3 http://deb.debian.org/debian stretch InRelease   
Get:4 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://deb.debian.org/debian stretch Release [118 kB]
Get:6 http://deb.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [10.1 kB]
Get:7 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages [27.2 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 Packages [7082 kB]
Fetched 7924 kB in 3s (2165 kB/s) 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
33 packages can be upgraded. Run 'apt list --upgradable' to see them.
(base) root@2cae175410fc:/# apt -y upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apt base-files curl git git-man gpgv libapt-pkg5.0 libc-bin libc6 libcurl3 libcurl3-gnutls libgnutls30 libperl5.24 libserf-1-1 libssh2-1 libssl1.0.2 libssl1.1 libsvn1 libsystemd0 libudev1 libx11-6 libx11-data
  multiarch-support openssh-client openssl perl perl-base perl-modules-5.24 publicsuffix rsync subversion tzdata wget
33 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.2 MB of archives.
After this operation, 169 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 base-files amd64 9.9+deb9u9 [67.4 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u5 [3501 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u5 [219 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 perl-base amd64 5.24.1-3+deb9u5 [1345 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u5 [2722 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 libc6 amd64 2.24-11+deb9u4 [2694 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libc-bin amd64 2.24-11+deb9u4 [782 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libapt-pkg5.0 amd64 1.4.9 [916 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 gpgv amd64 2.1.18-8~deb9u4 [481 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 apt amd64 1.4.9 [1232 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 libsystemd0 amd64 232-25+deb9u11 [281 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u4 [1433 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 libgnutls30 amd64 3.5.8-5+deb9u4 [896 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 libssh2-1 amd64 1.7.0-1+deb9u1 [139 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u9 [290 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u4 [4167 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 multiarch-support amd64 2.24-11+deb9u4 [201 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 libudev1 amd64 232-25+deb9u11 [126 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64 tzdata all 2019a-0+deb9u1 [273 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 libssl1.0.2 amd64 1.0.2r-1~deb9u1 [1302 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 libssl1.1 amd64 1.1.0j-1~deb9u1 [1354 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64 wget amd64 1.18-5+deb9u3 [800 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64 openssh-client amd64 1:7.4p1-10+deb9u6 [781 kB]
Get:24 http://deb.debian.org/debian stretch/main amd64 curl amd64 7.52.1-5+deb9u9 [227 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libcurl3 amd64 7.52.1-5+deb9u9 [292 kB]
Get:26 http://deb.debian.org/debian stretch/main amd64 libserf-1-1 amd64 1.3.9-3+deb9u1 [52.5 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 subversion amd64 1.9.5-1+deb9u3 [994 kB]
Get:28 http://deb.debian.org/debian stretch/main amd64 libsvn1 amd64 1.9.5-1+deb9u3 [1318 kB]
Get:29 http://deb.debian.org/debian stretch/main amd64 libx11-data all 2:1.6.4-3+deb9u1 [287 kB]
Get:30 http://deb.debian.org/debian stretch/main amd64 libx11-6 amd64 2:1.6.4-3+deb9u1 [748 kB]
Get:31 http://deb.debian.org/debian stretch/main amd64 openssl amd64 1.1.0j-1~deb9u1 [746 kB]
Get:32 http://deb.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u2 [393 kB]
Get:33 http://deb.debian.org/debian stretch/main amd64 publicsuffix all 20190415.1030-0+deb9u1 [108 kB]
Fetched 31.2 MB in 1s (17.7 MB/s)  
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../base-files_9.9+deb9u9_amd64.deb ...
Unpacking base-files (9.9+deb9u9) over (9.9+deb9u5) ...
Setting up base-files (9.9+deb9u9) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../libperl5.24_5.24.1-3+deb9u5_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Preparing to unpack .../perl_5.24.1-3+deb9u5_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Preparing to unpack .../perl-base_5.24.1-3+deb9u5_amd64.deb ...
Unpacking perl-base (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Setting up perl-base (5.24.1-3+deb9u5) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.24_5.24.1-3+deb9u5_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u5) over (5.24.1-3+deb9u4) ...
Preparing to unpack .../libc6_2.24-11+deb9u4_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Unpacking libc6:amd64 (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Setting up libc6:amd64 (2.24-11+deb9u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.24-11+deb9u4_amd64.deb ...
Unpacking libc-bin (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Setting up libc-bin (2.24-11+deb9u4) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.0_1.4.9_amd64.deb ...
Unpacking libapt-pkg5.0:amd64 (1.4.9) over (1.4.8) ...
Setting up libapt-pkg5.0:amd64 (1.4.9) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../gpgv_2.1.18-8~deb9u4_amd64.deb ...
Unpacking gpgv (2.1.18-8~deb9u4) over (2.1.18-8~deb9u2) ...
Setting up gpgv (2.1.18-8~deb9u4) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.4.9_amd64.deb ...
Unpacking apt (1.4.9) over (1.4.8) ...
Setting up apt (1.4.9) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../libsystemd0_232-25+deb9u11_amd64.deb ...
Unpacking libsystemd0:amd64 (232-25+deb9u11) over (232-25+deb9u4) ...
Setting up libsystemd0:amd64 (232-25+deb9u11) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../0-git-man_1%3a2.11.0-3+deb9u4_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u4) over (1:2.11.0-3+deb9u3) ...
Preparing to unpack .../1-libgnutls30_3.5.8-5+deb9u4_amd64.deb ...
Unpacking libgnutls30:amd64 (3.5.8-5+deb9u4) over (3.5.8-5+deb9u3) ...
Preparing to unpack .../2-libssh2-1_1.7.0-1+deb9u1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.7.0-1+deb9u1) over (1.7.0-1) ...
Preparing to unpack .../3-libcurl3-gnutls_7.52.1-5+deb9u9_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.52.1-5+deb9u9) over (7.52.1-5+deb9u7) ...
Preparing to unpack .../4-git_1%3a2.11.0-3+deb9u4_amd64.deb ...
Unpacking git (1:2.11.0-3+deb9u4) over (1:2.11.0-3+deb9u3) ...
Preparing to unpack .../5-multiarch-support_2.24-11+deb9u4_amd64.deb ...
Unpacking multiarch-support (2.24-11+deb9u4) over (2.24-11+deb9u3) ...
Setting up multiarch-support (2.24-11+deb9u4) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../libudev1_232-25+deb9u11_amd64.deb ...
Unpacking libudev1:amd64 (232-25+deb9u11) over (232-25+deb9u4) ...
Setting up libudev1:amd64 (232-25+deb9u11) ...
(Reading database ... 12505 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2019a-0+deb9u1_all.deb ...
Unpacking tzdata (2019a-0+deb9u1) over (2018e-0+deb9u1) ...
Preparing to unpack .../01-libssl1.0.2_1.0.2r-1~deb9u1_amd64.deb ...
Unpacking libssl1.0.2:amd64 (1.0.2r-1~deb9u1) over (1.0.2l-2+deb9u3) ...
Preparing to unpack .../02-libssl1.1_1.1.0j-1~deb9u1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0j-1~deb9u1) over (1.1.0f-3+deb9u2) ...
Preparing to unpack .../03-wget_1.18-5+deb9u3_amd64.deb ...
Unpacking wget (1.18-5+deb9u3) over (1.18-5+deb9u2) ...
Preparing to unpack .../04-openssh-client_1%3a7.4p1-10+deb9u6_amd64.deb ...
Unpacking openssh-client (1:7.4p1-10+deb9u6) over (1:7.4p1-10+deb9u4) ...
Preparing to unpack .../05-curl_7.52.1-5+deb9u9_amd64.deb ...
Unpacking curl (7.52.1-5+deb9u9) over (7.52.1-5+deb9u8) ...
Preparing to unpack .../06-libcurl3_7.52.1-5+deb9u9_amd64.deb ...
Unpacking libcurl3:amd64 (7.52.1-5+deb9u9) over (7.52.1-5+deb9u8) ...
Preparing to unpack .../07-libserf-1-1_1.3.9-3+deb9u1_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-3+deb9u1) over (1.3.9-3) ...
Preparing to unpack .../08-subversion_1.9.5-1+deb9u3_amd64.deb ...
Unpacking subversion (1.9.5-1+deb9u3) over (1.9.5-1+deb9u2) ...
Preparing to unpack .../09-libsvn1_1.9.5-1+deb9u3_amd64.deb ...
Unpacking libsvn1:amd64 (1.9.5-1+deb9u3) over (1.9.5-1+deb9u2) ...
Preparing to unpack .../10-libx11-data_2%3a1.6.4-3+deb9u1_all.deb ...
Unpacking libx11-data (2:1.6.4-3+deb9u1) over (2:1.6.4-3) ...
Preparing to unpack .../11-libx11-6_2%3a1.6.4-3+deb9u1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.4-3+deb9u1) over (2:1.6.4-3) ...
Preparing to unpack .../12-openssl_1.1.0j-1~deb9u1_amd64.deb ...
Unpacking openssl (1.1.0j-1~deb9u1) over (1.1.0f-3+deb9u2) ...
Preparing to unpack .../13-rsync_3.1.2-1+deb9u2_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u2) over (3.1.2-1+deb9u1) ...
Preparing to unpack .../14-publicsuffix_20190415.1030-0+deb9u1_all.deb ...
Unpacking publicsuffix (20190415.1030-0+deb9u1) over (20180218.2049-0+deb9u1) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u5) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u5) ...
Setting up git-man (1:2.11.0-3+deb9u4) ...
Setting up tzdata (2019a-0+deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline

Current default time zone: 'Etc/UTC'
Local time is now:      Tue Jun 25 07:47:48 UTC 2019.
Universal Time is now:  Tue Jun 25 07:47:48 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libgnutls30:amd64 (3.5.8-5+deb9u4) ...
Setting up rsync (3.1.2-1+deb9u2) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up perl (5.24.1-3+deb9u5) ...
Setting up libssl1.0.2:amd64 (1.0.2r-1~deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Setting up libssh2-1:amd64 (1.7.0-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up publicsuffix (20190415.1030-0+deb9u1) ...
Setting up libssl1.1:amd64 (1.1.0j-1~deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Setting up openssl (1.1.0j-1~deb9u1) ...
Setting up wget (1.18-5+deb9u3) ...
Setting up openssh-client (1:7.4p1-10+deb9u6) ...
Setting up libx11-data (2:1.6.4-3+deb9u1) ...
Setting up libcurl3:amd64 (7.52.1-5+deb9u9) ...
Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u9) ...
Setting up libx11-6:amd64 (2:1.6.4-3+deb9u1) ...
Setting up libserf-1-1:amd64 (1.3.9-3+deb9u1) ...
Setting up libsvn1:amd64 (1.9.5-1+deb9u3) ...
Setting up git (1:2.11.0-3+deb9u4) ...
Setting up curl (7.52.1-5+deb9u9) ...
Setting up subversion (1.9.5-1+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
(base) root@2cae175410fc:/# pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 6.9MB/s 
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-19.1.1
(base) root@2cae175410fc:/# pip install openjij
Collecting openjij
  Downloading https://files.pythonhosted.org/packages/32/fc/f7e98f470e1098a7cd9379145978a0aa44c2d6e4efd7e8d6f096f2398192/openjij-0.0.7.tar.gz (80kB)
     |████████████████████████████████| 81kB 2.7MB/s 
Requirement already satisfied: numpy in /opt/conda/lib/python3.7/site-packages (from openjij) (1.15.4)
Requirement already satisfied: requests in /opt/conda/lib/python3.7/site-packages (from openjij) (2.21.0)
Requirement already satisfied: idna<2.9,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (2018.11.29)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (1.24.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /opt/conda/lib/python3.7/site-packages (from requests->openjij) (3.0.4)
Building wheels for collected packages: openjij
  Building wheel for openjij (setup.py) ... error
  ERROR: Complete output from command /opt/conda/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-neuubmt1/openjij/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-hg81stwn --python-tag cp37:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/openjij
  copying openjij/__version.py -> build/lib.linux-x86_64-3.7/openjij
  copying openjij/utils.py -> build/lib.linux-x86_64-3.7/openjij
  copying openjij/__init__.py -> build/lib.linux-x86_64-3.7/openjij
  creating build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/model.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/king_graph.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/__init__.py -> build/lib.linux-x86_64-3.7/openjij/model
  copying openjij/model/chimera_model.py -> build/lib.linux-x86_64-3.7/openjij/model
  creating build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/cmos_annealer.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/response.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/__init__.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  copying openjij/sampler/gpu_sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
  running build_ext
  Traceback (most recent call last):
    File "/tmp/pip-install-neuubmt1/openjij/setup.py", line 31, in run
      out = subprocess.check_output(['cmake', '--version'])
    File "/opt/conda/lib/python3.7/subprocess.py", line 389, in check_output
      **kwargs).stdout
    File "/opt/conda/lib/python3.7/subprocess.py", line 466, in run
      with Popen(*popenargs, **kwargs) as process:
    File "/opt/conda/lib/python3.7/subprocess.py", line 769, in __init__
      restore_signals, start_new_session)
    File "/opt/conda/lib/python3.7/subprocess.py", line 1516, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-neuubmt1/openjij/setup.py", line 126, in <module>
      zip_safe=False
    File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
      return distutils.core.setup(**attrs)
    File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/opt/conda/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-neuubmt1/openjij/setup.py", line 34, in run
      ", ".join(e.name for e in self.extensions))
  RuntimeError: CMake must be installed to build the following extensions: cxxjij
  ----------------------------------------
  ERROR: Failed building wheel for openjij
  Running setup.py clean for openjij
Failed to build openjij
Installing collected packages: openjij
  Running setup.py install for openjij ... error
    ERROR: Complete output from command /opt/conda/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-neuubmt1/openjij/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-thdhqpvr/install-record.txt --single-version-externally-managed --compile:
    ERROR: running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/openjij
    copying openjij/__version.py -> build/lib.linux-x86_64-3.7/openjij
    copying openjij/utils.py -> build/lib.linux-x86_64-3.7/openjij
    copying openjij/__init__.py -> build/lib.linux-x86_64-3.7/openjij
    creating build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/model.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/king_graph.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/__init__.py -> build/lib.linux-x86_64-3.7/openjij/model
    copying openjij/model/chimera_model.py -> build/lib.linux-x86_64-3.7/openjij/model
    creating build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/cmos_annealer.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/response.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/__init__.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    copying openjij/sampler/gpu_sampler.py -> build/lib.linux-x86_64-3.7/openjij/sampler
    running build_ext
    Traceback (most recent call last):
      File "/tmp/pip-install-neuubmt1/openjij/setup.py", line 31, in run
        out = subprocess.check_output(['cmake', '--version'])
      File "/opt/conda/lib/python3.7/subprocess.py", line 389, in check_output
        **kwargs).stdout
      File "/opt/conda/lib/python3.7/subprocess.py", line 466, in run
        with Popen(*popenargs, **kwargs) as process:
      File "/opt/conda/lib/python3.7/subprocess.py", line 769, in __init__
        restore_signals, start_new_session)
      File "/opt/conda/lib/python3.7/subprocess.py", line 1516, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'cmake': 'cmake'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-neuubmt1/openjij/setup.py", line 126, in <module>
        zip_safe=False
      File "/opt/conda/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
        return distutils.core.setup(**attrs)
      File "/opt/conda/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/opt/conda/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/conda/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/opt/conda/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/conda/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-neuubmt1/openjij/setup.py", line 34, in run
        ", ".join(e.name for e in self.extensions))
    RuntimeError: CMake must be installed to build the following extensions: cxxjij
    ----------------------------------------
ERROR: Command "/opt/conda/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-neuubmt1/openjij/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-thdhqpvr/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-neuubmt1/openjij/
```
### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.