GithubHelp home page GithubHelp logo

alteryx / featuretools-docker Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 7.0 8 KB

Use docker to provision Featuretools with a Jupyter notebook server

License: BSD 3-Clause "New" or "Revised" License

Shell 30.86% Dockerfile 69.14%

featuretools-docker's People

Contributors

gsheni avatar kmax12 avatar rwedge avatar seth-rothschild avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

featuretools-docker's Issues

Problem building and running featuretoools-docker

Hi there,

i ran into an issue when trying to build this Dockerfile:

mkdir: cannot create directory ‘/home/jovyan/.jupyter’: File exists
The command '/bin/sh -c mkdir /home/$NB_USER/.jupyter' returned a non-zero code: 1

(Full build error below)

This appears to be caused by the last line in the Dockerfile, since the upstream jupyter/base-notebook image already creates it:
RUN mkdir /home/$NB_USER/.jupyter

Commenting the line out allows the build to complete, but running the docker run -it -p 8888:8888 <IMAGE_NAME> command generates the following error:

OSError: [Errno 99] Cannot assign requested address

(Full run error below)

I decided to slap together my own Dockerfile to get started:

Dockerfile:

FROM jupyter/minimal-notebook
COPY requirements.txt /tmp
RUN pip install -r /tmp/requirements.txt

requirements.txt:

featuretools==0.6.1

To run it,

docker run -it -p 8888:8888 -v <full host directory path for my own Jupyter notebooks>:/home/jovyan/work <IMAGE_NAME>

Full build error

pato@u16:/mnt/4TB-ext4/tmp/featuretools-docker$ docker build -t ftdocker .
Sending build context to Docker daemon   72.7kB
Step 1/9 : FROM jupyter/minimal-notebook
 ---> bb9925358374
Step 2/9 : RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 ipykernel kernda &&     conda clean -tipsy
 ---> Running in c2478bda4165
Collecting package metadata: ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /opt/conda/envs/python2

  added / updated specs:
    - ipykernel
    - kernda
    - python=2.7


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    backports-1.0              |             py_2           4 KB  conda-forge
    backports.shutil_get_terminal_size-1.0.0|             py_3           7 KB  conda-forge
    backports_abc-0.5          |             py_1           5 KB  conda-forge
    certifi-2019.3.9           |           py27_0         149 KB  conda-forge
    decorator-4.4.0            |             py_0          11 KB  conda-forge
    enum34-1.1.6               |        py27_1001          56 KB  conda-forge
    futures-3.2.0              |        py27_1000          24 KB  conda-forge
    ipykernel-4.10.0           |           py27_1         144 KB  conda-forge
    ipython-5.8.0              |           py27_0         1.0 MB  conda-forge
    kernda-0.3.0               |             py_1           7 KB  conda-forge
    libffi-3.2.1               |    he1b5a44_1006          46 KB  conda-forge
    pathlib2-2.3.3             |        py27_1000          31 KB  conda-forge
    pexpect-4.6.0              |        py27_1000          73 KB  conda-forge
    pickleshare-0.7.5          |        py27_1000          11 KB  conda-forge
    pip-19.0.3                 |           py27_0         1.8 MB  conda-forge
    prompt_toolkit-1.0.15      |             py_1         154 KB  conda-forge
    ptyprocess-0.6.0           |        py27_1000          22 KB  conda-forge
    python-2.7.15              |    h721da81_1008        12.8 MB  conda-forge
    pyzmq-18.0.1               |   py27h0e1adb2_0         474 KB  conda-forge
    scandir-1.10.0             |   py27h14c3975_0          28 KB  conda-forge
    setuptools-40.8.0          |           py27_0         630 KB  conda-forge
    simplegeneric-0.8.1        |             py_1           7 KB  conda-forge
    singledispatch-3.4.0.3     |        py27_1000          15 KB  conda-forge
    six-1.12.0                 |        py27_1000          21 KB  conda-forge
    tornado-5.1.1              |py27h14c3975_1000         642 KB  conda-forge
    traitlets-4.3.2            |        py27_1000         125 KB  conda-forge
    wheel-0.33.1               |           py27_0          34 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        18.2 MB

The following NEW packages will be INSTALLED:

  backports          conda-forge/noarch::backports-1.0-py_2
  backports.shutil_~ conda-forge/noarch::backports.shutil_get_terminal_size-1.0.0-py_3
  backports_abc      conda-forge/noarch::backports_abc-0.5-py_1
  ca-certificates    conda-forge/linux-64::ca-certificates-2019.3.9-hecc5488_0
  certifi            conda-forge/linux-64::certifi-2019.3.9-py27_0
  decorator          conda-forge/noarch::decorator-4.4.0-py_0
  enum34             conda-forge/linux-64::enum34-1.1.6-py27_1001
  futures            conda-forge/linux-64::futures-3.2.0-py27_1000
  ipykernel          conda-forge/linux-64::ipykernel-4.10.0-py27_1
  ipython            conda-forge/linux-64::ipython-5.8.0-py27_0
  ipython_genutils   conda-forge/noarch::ipython_genutils-0.2.0-py_1
  jupyter_client     conda-forge/noarch::jupyter_client-5.2.4-py_3
  jupyter_core       conda-forge/noarch::jupyter_core-4.4.0-py_0
  kernda             conda-forge/noarch::kernda-0.3.0-py_1
  libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1006
  libgcc-ng          conda-forge/linux-64::libgcc-ng-7.3.0-hdf63c60_0
  libsodium          conda-forge/linux-64::libsodium-1.0.16-h14c3975_1001
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-7.3.0-hdf63c60_0
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  openssl            conda-forge/linux-64::openssl-1.1.1b-h14c3975_1
  pathlib2           conda-forge/linux-64::pathlib2-2.3.3-py27_1000
  pexpect            conda-forge/linux-64::pexpect-4.6.0-py27_1000
  pickleshare        conda-forge/linux-64::pickleshare-0.7.5-py27_1000
  pip                conda-forge/linux-64::pip-19.0.3-py27_0
  prompt_toolkit     conda-forge/noarch::prompt_toolkit-1.0.15-py_1
  ptyprocess         conda-forge/linux-64::ptyprocess-0.6.0-py27_1000
  pygments           conda-forge/noarch::pygments-2.3.1-py_0
  python             conda-forge/linux-64::python-2.7.15-h721da81_1008
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.0-py_0
  pyzmq              conda-forge/linux-64::pyzmq-18.0.1-py27h0e1adb2_0
  readline           conda-forge/linux-64::readline-7.0-hf8c457e_1001
  scandir            conda-forge/linux-64::scandir-1.10.0-py27h14c3975_0
  setuptools         conda-forge/linux-64::setuptools-40.8.0-py27_0
  simplegeneric      conda-forge/noarch::simplegeneric-0.8.1-py_1
  singledispatch     conda-forge/linux-64::singledispatch-3.4.0.3-py27_1000
  six                conda-forge/linux-64::six-1.12.0-py27_1000
  sqlite             conda-forge/linux-64::sqlite-3.26.0-h67949de_1001
  tk                 conda-forge/linux-64::tk-8.6.9-h84994c4_1000
  tornado            conda-forge/linux-64::tornado-5.1.1-py27h14c3975_1000
  traitlets          conda-forge/linux-64::traitlets-4.3.2-py27_1000
  wcwidth            conda-forge/noarch::wcwidth-0.1.7-py_1
  wheel              conda-forge/linux-64::wheel-0.33.1-py27_0
  zeromq             conda-forge/linux-64::zeromq-4.2.5-hf484d3e_1006
  zlib               conda-forge/linux-64::zlib-1.2.11-h14c3975_1004


Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Cache location: /opt/conda/pkgs
Will remove the following tarballs:

/opt/conda/pkgs
---------------
pickleshare-0.7.5-py27_1000.tar.bz2           11 KB
traitlets-4.3.2-py27_1000.tar.bz2            125 KB
decorator-4.4.0-py_0.tar.bz2                  11 KB
backports_abc-0.5-py_1.tar.bz2                 5 KB
backports-1.0-py_2.tar.bz2                     4 KB
pip-19.0.3-py27_0.tar.bz2                    1.8 MB
tornado-5.1.1-py27h14c3975_1000.tar.bz2      642 KB
backports.shutil_get_terminal_size-1.0.0-py_3.tar.bz2       7 KB
pathlib2-2.3.3-py27_1000.tar.bz2              31 KB
kernda-0.3.0-py_1.tar.bz2                      7 KB
scandir-1.10.0-py27h14c3975_0.tar.bz2         28 KB
simplegeneric-0.8.1-py_1.tar.bz2               7 KB
ipython-5.8.0-py27_0.tar.bz2                 1.0 MB
ptyprocess-0.6.0-py27_1000.tar.bz2            22 KB
python-2.7.15-h721da81_1008.tar.bz2         12.8 MB
ipykernel-4.10.0-py27_1.tar.bz2              144 KB
futures-3.2.0-py27_1000.tar.bz2               24 KB
setuptools-40.8.0-py27_0.tar.bz2             630 KB
pexpect-4.6.0-py27_1000.tar.bz2               73 KB
certifi-2019.3.9-py27_0.tar.bz2              149 KB
enum34-1.1.6-py27_1001.tar.bz2                56 KB
six-1.12.0-py27_1000.tar.bz2                  21 KB
libffi-3.2.1-he1b5a44_1006.tar.bz2            46 KB
singledispatch-3.4.0.3-py27_1000.tar.bz2      15 KB
prompt_toolkit-1.0.15-py_1.tar.bz2           154 KB
wheel-0.33.1-py27_0.tar.bz2                   34 KB
pyzmq-18.0.1-py27h0e1adb2_0.tar.bz2          474 KB

---------------------------------------------------
Total:                                      18.2 MB

Removed pickleshare-0.7.5-py27_1000.tar.bz2
Removed traitlets-4.3.2-py27_1000.tar.bz2
Removed decorator-4.4.0-py_0.tar.bz2
Removed backports_abc-0.5-py_1.tar.bz2
Removed backports-1.0-py_2.tar.bz2
Removed pip-19.0.3-py27_0.tar.bz2
Removed tornado-5.1.1-py27h14c3975_1000.tar.bz2
Removed backports.shutil_get_terminal_size-1.0.0-py_3.tar.bz2
Removed pathlib2-2.3.3-py27_1000.tar.bz2
Removed kernda-0.3.0-py_1.tar.bz2
Removed scandir-1.10.0-py27h14c3975_0.tar.bz2
Removed simplegeneric-0.8.1-py_1.tar.bz2
Removed ipython-5.8.0-py27_0.tar.bz2
Removed ptyprocess-0.6.0-py27_1000.tar.bz2
Removed python-2.7.15-h721da81_1008.tar.bz2
Removed ipykernel-4.10.0-py27_1.tar.bz2
Removed futures-3.2.0-py27_1000.tar.bz2
Removed setuptools-40.8.0-py27_0.tar.bz2
Removed pexpect-4.6.0-py27_1000.tar.bz2
Removed certifi-2019.3.9-py27_0.tar.bz2
Removed enum34-1.1.6-py27_1001.tar.bz2
Removed six-1.12.0-py27_1000.tar.bz2
Removed libffi-3.2.1-he1b5a44_1006.tar.bz2
Removed singledispatch-3.4.0.3-py27_1000.tar.bz2
Removed prompt_toolkit-1.0.15-py_1.tar.bz2
Removed wheel-0.33.1-py27_0.tar.bz2
Removed pyzmq-18.0.1-py27h0e1adb2_0.tar.bz2
Cache location: /opt/conda/pkgs
Will remove the following packages:
/opt/conda/pkgs
---------------

jupyterhub-0.9.4-py37_1000                   6.4 MB
nodejs-11.11.0-hf484d3e_0                   60.7 MB
tornado-6.0.1-py37h14c3975_0                 2.8 MB
jinja2-2.10-py_1                             450 KB
krb5-1.16.3-h05b26f9_1001                    5.0 MB
python-editor-1.0.4-py_0                      26 KB
backcall-0.1.0-py_0                           64 KB
nbformat-4.4.0-py_1                          384 KB
pandocfilters-1.4.2-py_1                      26 KB
terminado-0.8.1-py37_1001                     71 KB
defusedxml-0.5.0-py_1                         81 KB
libcurl-7.64.0-h541490c_2                    2.1 MB
send2trash-1.5.0-py_0                         51 KB
pickleshare-0.7.5-py37_1000                   32 KB
testpath-0.4.2-py37_1000                     192 KB
nbconvert-5.4.1-py_2                         1.1 MB
ptyprocess-0.6.0-py37_1000                    72 KB
pycurl-7.43.0.2-py37h1ba5d50_0               762 KB
prompt_toolkit-2.0.9-py_0                    1.2 MB
alembic-1.0.8-py_0                           614 KB
parso-0.3.4-py_0                             316 KB
traitlets-4.3.2-py37_1000                    624 KB
libssh2-1.8.0-h90d6eec_1004                  1.0 MB
notebook-5.7.5-py37_0                       31.0 MB
bleach-3.1.0-py_0                            623 KB
jsonschema-3.0.1-py37_0                      418 KB
entrypoints-0.3-py37_1000                     29 KB
decorator-4.3.2-py_0                          33 KB
ipython-7.3.0-py37h24bf2e0_0                 4.2 MB
pyzmq-18.0.1-py37h0e1adb2_0                  2.1 MB
markupsafe-1.1.1-py37h14c3975_0               81 KB
webencodings-0.5.1-py_1                       45 KB
jupyterlab-0.35.4-py37_0                    48.7 MB
async_generator-1.10-py_0                     72 KB
ipykernel-5.1.0-py37h24bf2e0_1002            640 KB
prometheus_client-0.6.0-py_0                 151 KB
python-oauth2-1.1.0-py37h28b3542_1           526 KB
mistune-0.8.4-py37h14c3975_1000              211 KB
mako-1.0.7-py_1                              285 KB
pyrsistent-0.14.11-py37h14c3975_0            372 KB
jedi-0.13.3-py37_0                          1013 KB
pexpect-4.6.0-py37_1000                      326 KB
attrs-19.1.0-py_0                            133 KB
pandoc-2.6-1                               125.8 MB
jupyterlab_server-0.2.0-py_0                  94 KB
pamela-1.0.0-py_0                             26 KB
configurable-http-proxy-1.3.0-0              758 KB
sqlalchemy-1.3.1-py37h14c3975_0              8.2 MB
tini-0.18.0-h14c3975_1001                     36 KB
python-3.7.1-h381d211_1003                  83.9 MB
yaml-0.1.7-h14c3975_1001                     333 KB
bzip2-1.0.6-h14c3975_1002                    1.5 MB
six-1.12.0-py37_1000                          71 KB
pyopenssl-19.0.0-py37_0                      399 KB
cryptography-2.6.1-py37h9d9f1b6_0            3.3 MB
cffi-1.12.2-py37hf0e25f4_1                   822 KB
asn1crypto-0.24.0-py37_1003                  870 KB
pycparser-2.19-py37_1                        947 KB
urllib3-1.24.1-py37_1000                     642 KB
chardet-3.0.4-py37_1003                      822 KB
pysocks-1.6.8-py37_1002                       73 KB
libffi-3.2.1-hf484d3e_1005                   160 KB
wheel-0.33.1-py37_0                          108 KB
conda-4.6.8-py37_0                           3.3 MB
pycosat-0.6.3-py37h14c3975_1001              415 KB
ruamel_yaml-0.15.71-py37h14c3975_1000        1.0 MB
requests-2.21.0-py37_1000                    335 KB
certifi-2019.3.9-py37_0                      293 KB
setuptools-40.8.0-py37_0                     2.7 MB
pip-19.0.3-py37_0                            7.1 MB
libedit-3.1.20170329-hf8c457e_1001           718 KB
xz-5.2.4-h14c3975_1001                       1.2 MB
idna-2.8-py37_1000                           486 KB

---------------------------------------------------
Total:                                     421.2 MB

removing jupyterhub-0.9.4-py37_1000
removing nodejs-11.11.0-hf484d3e_0
removing tornado-6.0.1-py37h14c3975_0
removing jinja2-2.10-py_1
removing krb5-1.16.3-h05b26f9_1001
removing python-editor-1.0.4-py_0
removing backcall-0.1.0-py_0
removing nbformat-4.4.0-py_1
removing pandocfilters-1.4.2-py_1
removing terminado-0.8.1-py37_1001
removing defusedxml-0.5.0-py_1
removing libcurl-7.64.0-h541490c_2
removing send2trash-1.5.0-py_0
removing pickleshare-0.7.5-py37_1000
removing testpath-0.4.2-py37_1000
removing nbconvert-5.4.1-py_2
removing ptyprocess-0.6.0-py37_1000
removing pycurl-7.43.0.2-py37h1ba5d50_0
removing prompt_toolkit-2.0.9-py_0
removing alembic-1.0.8-py_0
removing parso-0.3.4-py_0
removing traitlets-4.3.2-py37_1000
removing libssh2-1.8.0-h90d6eec_1004
removing notebook-5.7.5-py37_0
removing bleach-3.1.0-py_0
removing jsonschema-3.0.1-py37_0
removing entrypoints-0.3-py37_1000
removing decorator-4.3.2-py_0
removing ipython-7.3.0-py37h24bf2e0_0
removing pyzmq-18.0.1-py37h0e1adb2_0
removing markupsafe-1.1.1-py37h14c3975_0
removing webencodings-0.5.1-py_1
removing jupyterlab-0.35.4-py37_0
removing async_generator-1.10-py_0
removing ipykernel-5.1.0-py37h24bf2e0_1002
removing prometheus_client-0.6.0-py_0
removing python-oauth2-1.1.0-py37h28b3542_1
removing mistune-0.8.4-py37h14c3975_1000
removing mako-1.0.7-py_1
removing pyrsistent-0.14.11-py37h14c3975_0
removing jedi-0.13.3-py37_0
removing pexpect-4.6.0-py37_1000
removing attrs-19.1.0-py_0WARNING: 'conda clean --source-cache' is deprecated.
    Use 'conda build purge-all' to remove source cache files.

removing pandoc-2.6-1
removing jupyterlab_server-0.2.0-py_0
removing pamela-1.0.0-py_0
removing configurable-http-proxy-1.3.0-0
removing sqlalchemy-1.3.1-py37h14c3975_0
removing tini-0.18.0-h14c3975_1001
removing python-3.7.1-h381d211_1003
removing yaml-0.1.7-h14c3975_1001
removing bzip2-1.0.6-h14c3975_1002
removing six-1.12.0-py37_1000
removing pyopenssl-19.0.0-py37_0
removing cryptography-2.6.1-py37h9d9f1b6_0
removing cffi-1.12.2-py37hf0e25f4_1
removing asn1crypto-0.24.0-py37_1003
removing pycparser-2.19-py37_1
removing urllib3-1.24.1-py37_1000
removing chardet-3.0.4-py37_1003
removing pysocks-1.6.8-py37_1002
removing libffi-3.2.1-hf484d3e_1005
removing wheel-0.33.1-py37_0
removing conda-4.6.8-py37_0
removing pycosat-0.6.3-py37h14c3975_1001
removing ruamel_yaml-0.15.71-py37h14c3975_1000
removing requests-2.21.0-py37_1000
removing certifi-2019.3.9-py37_0
removing setuptools-40.8.0-py37_0
removing pip-19.0.3-py37_0
removing libedit-3.1.20170329-hf8c457e_1001
removing xz-5.2.4-h14c3975_1001
removing idna-2.8-py37_1000
Removing intermediate container c2478bda4165
 ---> e6981fd0dde4
Step 3/9 : RUN ["/bin/bash", "-c", "source activate python2 && pip install featuretools"]
 ---> Running in 229ce6c00d0e
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting featuretools
  Downloading https://files.pythonhosted.org/packages/60/91/b868d0426b06be0e1b2eaead4784c7b060bc2833a32cbe9c4087731b50a7/featuretools-0.6.1.tar.gz (159kB)
Collecting boto3>=1.9.51 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/0a/44/96075812bcd1666e339107db0e7ef8ba610270d8039ca81e3cd5bc2de206/boto3-1.9.117-py2.py3-none-any.whl (128kB)
Collecting botocore>=1.12.51 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/5d/34/1f9422dba5bc9cc5304ee4f075855fad989e4b9d80d0e48016f3e3981ea5/botocore-1.12.117-py2.py3-none-any.whl (5.3MB)
Collecting numpy>=1.13.3 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/c4/33/8ec8dcdb4ede5d453047bbdbd01916dbaccdb63e98bba60989718f5f0876/numpy-1.16.2-cp27-cp27mu-manylinux1_x86_64.whl (17.0MB)
Collecting pandas>=0.23.0 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/db/83/7d4008ffc2988066ff37f6a0bb6d7b60822367dcb36ba5e39aa7801fda54/pandas-0.24.2-cp27-cp27mu-manylinux1_x86_64.whl (10.1MB)
Collecting tqdm>=4.19.2 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl (48kB)
Collecting toolz>=0.8.2 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/14/d0/a73c15bbeda3d2e7b381a36afb0d9cd770a9f4adc5d1532691013ba881db/toolz-0.9.0.tar.gz (45kB)
Collecting pyyaml>=3.12 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/9f/2c/9417b5c774792634834e730932745bc09a7d36754ca00acf1ccd1ac2594d/PyYAML-5.1.tar.gz (274kB)
Collecting cloudpickle>=0.4.0 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/47/d5/efa7cacef5d3bdcd71d7053a698fb9b64a20fff5cb3c592efefa53ea5578/cloudpickle-0.8.0-py2.py3-none-any.whl
Collecting future>=0.16.0 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting dask>=1.1.0 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/b9/bc/0d747625c18397ed548c7890bf984a40d931b9ebac236c570a07565b0cc8/dask-1.1.4-py2.py3-none-any.whl (704kB)
Collecting distributed>=1.24.2 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/e7/52/08ead8f0968d42510630f307100307b481298696cb7de81d58f0cdf7f320/distributed-1.26.0-py2.py3-none-any.whl (506kB)
Collecting psutil>=5.4.8 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/2f/b8/11ec5006d2ec2998cb68349b8d1317c24c284cf918ecd6729739388e4c56/psutil-5.6.1.tar.gz (427kB)
Collecting click>=7.0.0 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting smart_open>=1.7.1 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/ff/c8/de7dcf34d4b5f2ae94fe1055e0d6418fb97a63c9dc3428edd264704983a2/smart_open-1.8.0.tar.gz (40kB)
Collecting scikit-learn>=0.20.0 (from featuretools)
  Downloading https://files.pythonhosted.org/packages/f7/bb/52a01390c1dbb2c65d3072bc687271aa9ddf6964141ce7e03304820138f4/scikit_learn-0.20.3-cp27-cp27mu-manylinux1_x86_64.whl (5.5MB)
Collecting jmespath<1.0.0,>=0.7.1 (from boto3>=1.9.51->featuretools)
  Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting s3transfer<0.3.0,>=0.2.0 (from boto3>=1.9.51->featuretools)
  Downloading https://files.pythonhosted.org/packages/d7/de/5737f602e22073ecbded7a0c590707085e154e32b68d86545dcc31004c02/s3transfer-0.2.0-py2.py3-none-any.whl (69kB)
Collecting docutils>=0.10 (from botocore>=1.12.51->featuretools)
  Downloading https://files.pythonhosted.org/packages/50/09/c53398e0005b11f7ffb27b7aa720c617aba53be4fb4f4f3f06b9b5c60f28/docutils-0.14-py2-none-any.whl (543kB)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /opt/conda/envs/python2/lib/python2.7/site-packages (from botocore>=1.12.51->featuretools) (2.8.0)
Collecting urllib3<1.25,>=1.20; python_version == "2.7" (from botocore>=1.12.51->featuretools)
  Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB)
Collecting pytz>=2011k (from pandas>=0.23.0->featuretools)
  Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB)
Collecting msgpack (from distributed>=1.24.2->featuretools)
  Downloading https://files.pythonhosted.org/packages/6f/74/06f950e5a4c1fb94b676640b8fea839b80bffdc247144bd054dd5eed250e/msgpack-0.6.1-cp27-cp27mu-manylinux1_x86_64.whl (231kB)
Collecting sortedcontainers!=2.0.0,!=2.0.1 (from distributed>=1.24.2->featuretools)
  Downloading https://files.pythonhosted.org/packages/13/f3/cf85f7c3a2dbd1a515d51e1f1676d971abe41bba6f4ab5443240d9a78e5b/sortedcontainers-2.1.0-py2.py3-none-any.whl
Requirement already satisfied: singledispatch; python_version < "3.4" in /opt/conda/envs/python2/lib/python2.7/site-packages (from distributed>=1.24.2->featuretools) (3.4.0.3)
Requirement already satisfied: six in /opt/conda/envs/python2/lib/python2.7/site-packages (from distributed>=1.24.2->featuretools) (1.12.0)
Requirement already satisfied: tornado>=5 in /opt/conda/envs/python2/lib/python2.7/site-packages (from distributed>=1.24.2->featuretools) (5.1.1)
Requirement already satisfied: futures; python_version < "3.0" in /opt/conda/envs/python2/lib/python2.7/site-packages (from distributed>=1.24.2->featuretools) (3.2.0)
Collecting zict>=0.1.3 (from distributed>=1.24.2->featuretools)
  Downloading https://files.pythonhosted.org/packages/bd/45/a2e6f95a850cd407d785f2f8624b02e72baf6ab910aea4bdcac7e18b4871/zict-0.1.4-py2.py3-none-any.whl
Collecting tblib (from distributed>=1.24.2->featuretools)
  Downloading https://files.pythonhosted.org/packages/4a/82/1b9fba6e93629a8557f9784cd8f1ae063c8762c26446367a6764edd328ce/tblib-1.3.2-py2.py3-none-any.whl
Collecting boto>=2.32 (from smart_open>=1.7.1->featuretools)
  Downloading https://files.pythonhosted.org/packages/23/10/c0b78c27298029e4454a472a1919bde20cb182dab1662cec7f2ca1dcc523/boto-2.49.0-py2.py3-none-any.whl (1.4MB)
Collecting bz2file (from smart_open>=1.7.1->featuretools)
  Downloading https://files.pythonhosted.org/packages/61/39/122222b5e85cd41c391b68a99ee296584b2a2d1d233e7ee32b4532384f2d/bz2file-0.98.tar.gz
Collecting requests (from smart_open>=1.7.1->featuretools)
  Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
Collecting scipy>=0.13.3 (from scikit-learn>=0.20.0->featuretools)
  Downloading https://files.pythonhosted.org/packages/81/39/f1457091d0a45a84a2bd7815e2cf6bd45d4fe240728e9ed567cbb17c8abe/scipy-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl (24.8MB)
Requirement already satisfied: backports_abc>=0.4 in /opt/conda/envs/python2/lib/python2.7/site-packages (from tornado>=5->distributed>=1.24.2->featuretools) (0.5)
Collecting heapdict (from zict>=0.1.3->distributed>=1.24.2->featuretools)
  Downloading https://files.pythonhosted.org/packages/e2/ca/f5feba2f939c97629dbce52a17acc95a0d10256ef620334795379dda8ce6/HeapDict-1.0.0.tar.gz
Collecting chardet<3.1.0,>=3.0.2 (from requests->smart_open>=1.7.1->featuretools)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting idna<2.9,>=2.5 (from requests->smart_open>=1.7.1->featuretools)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/python2/lib/python2.7/site-packages (from requests->smart_open>=1.7.1->featuretools) (2019.3.9)
Building wheels for collected packages: featuretools, toolz, pyyaml, future, psutil, smart-open, bz2file, heapdict
  Building wheel for featuretools (setup.py): started
  Building wheel for featuretools (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/cb/87/34/21b0ef1eeceb492f7885799c2f923254e5983832f2c43111e0
  Building wheel for toolz (setup.py): started
  Building wheel for toolz (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/f4/0c/f6/ce6b2d1aa459ee97cc3c0f82236302bd62d89c86c700219463
  Building wheel for pyyaml (setup.py): started
  Building wheel for pyyaml (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/ad/56/bc/1522f864feb2a358ea6f1a92b4798d69ac783a28e80567a18b
  Building wheel for future (setup.py): started
  Building wheel for future (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/0c/61/d2/d6b7317325828fbb39ee6ad559dbe4664d0896da4721bf379e
  Building wheel for psutil (setup.py): started
  Building wheel for psutil (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/86/36/f4/e1fc49f198c623b8dc2156e80011a52f19a959d538f6b1a5db
  Building wheel for smart-open (setup.py): started
  Building wheel for smart-open (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/f7/a6/ff/9ab5842c14e50e95a06a4675b0b4a689c9cab6064dac2b01d0
  Building wheel for bz2file (setup.py): started
  Building wheel for bz2file (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/81/75/d6/e1317bf09bf1af5a30befc2a007869fa6e1f516b8f7c591cb9
  Building wheel for heapdict (setup.py): started
  Building wheel for heapdict (setup.py): finished with status 'done'
  Stored in directory: /home/jovyan/.cache/pip/wheels/40/b9/42/344857b482c954f48bcff6db72d388e30bf2bee4ed14706faa
Successfully built featuretools toolz pyyaml future psutil smart-open bz2file heapdict
Installing collected packages: jmespath, docutils, urllib3, botocore, s3transfer, boto3, numpy, pytz, pandas, tqdm, toolz, pyyaml, cloudpickle, future, dask, msgpack, sortedcontainers, click, psutil, heapdict, zict, tblib, distributed, boto, bz2file, chardet, idna, requests, smart-open, scipy, scikit-learn, featuretools
Successfully installed boto-2.49.0 boto3-1.9.117 botocore-1.12.117 bz2file-0.98 chardet-3.0.4 click-7.0 cloudpickle-0.8.0 dask-1.1.4 distributed-1.26.0 docutils-0.14 featuretools-0.6.1 future-0.17.1 heapdict-1.0.0 idna-2.8 jmespath-0.9.4 msgpack-0.6.1 numpy-1.16.2 pandas-0.24.2 psutil-5.6.1 pytz-2018.9 pyyaml-5.1 requests-2.21.0 s3transfer-0.2.0 scikit-learn-0.20.3 scipy-1.2.1 smart-open-1.8.0 sortedcontainers-2.1.0 tblib-1.3.2 toolz-0.9.0 tqdm-4.31.1 urllib3-1.24.1 zict-0.1.4
Removing intermediate container 229ce6c00d0e
 ---> 4b4a0a19b41b
Step 4/9 : USER root
 ---> Running in 694865c83e34
Removing intermediate container 694865c83e34
 ---> 9aad3db6af58
Step 5/9 : RUN $CONDA_DIR/envs/python2/bin/python -m ipykernel install &&     $CONDA_DIR/envs/python2/bin/kernda -o -y /usr/local/share/jupyter/kernels/python2/kernel.json
 ---> Running in 12631dba4c03
Installed kernelspec python2 in /usr/local/share/jupyter/kernels/python2
Wrote to /usr/local/share/jupyter/kernels/python2/kernel.json
{
  "display_name": "Python 2",
  "argv": [
    "bash",
    "-c",
    "source \"/opt/conda/bin/activate\" \"/opt/conda/envs/python2\" && exec /opt/conda/envs/python2/bin/python -m ipykernel_launcher -f '{connection_file}' "
  ],
  "language": "python"
}
Removing intermediate container 12631dba4c03
 ---> 6b81fbd5852c
Step 6/9 : RUN echo "c.KernelSpecManager.whitelist = set(['python2'])" >> /etc/jupyter/jupyter_notebook_config.py
 ---> Running in f73416e55eba
Removing intermediate container f73416e55eba
 ---> 460d57d78cb7
Step 7/9 : COPY start-notebook.sh /usr/local/bin/start-notebook.sh
 ---> 4c6666f5e869
Step 8/9 : USER $NB_USER
 ---> Running in 7d7a12217c28
Removing intermediate container 7d7a12217c28
 ---> 5721974b366f
Step 9/9 : RUN mkdir /home/$NB_USER/.jupyter
 ---> Running in 67e2dc816b7e
mkdir: cannot create directory ‘/home/jovyan/.jupyter’: File exists
The command '/bin/sh -c mkdir /home/$NB_USER/.jupyter' returned a non-zero code: 1

Full run error

docker run -it -p 8888:8888 ftdocker
Executing the command: jupyter notebook
[E 17:50:01.396 NotebookApp] Exception while loading config file /etc/jupyter/jupyter_notebook_config.py
    Traceback (most recent call last):
      File "/opt/conda/lib/python3.7/site-packages/traitlets/config/application.py", line 562, in _load_config_files
        config = loader.load_config()
      File "/opt/conda/lib/python3.7/site-packages/traitlets/config/loader.py", line 457, in load_config
        self._read_file_as_dict()
      File "/opt/conda/lib/python3.7/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict
        py3compat.execfile(conf_filename, namespace)
      File "/opt/conda/lib/python3.7/site-packages/ipython_genutils/py3compat.py", line 198, in execfile
        exec(compiler(f.read(), fname, 'exec'), glob, loc)
      File "/etc/jupyter/jupyter_notebook_config.py", line 55
        os.umask(int(os.environ['NB_UMASK'], 8))c.KernelSpecManager.whitelist = set(['python2'])
                                                ^
    SyntaxError: invalid syntax
[I 17:50:01.450 NotebookApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
Traceback (most recent call last):
  File "/opt/conda/bin/jupyter-notebook", line 11, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.7/site-packages/jupyter_core/application.py", line 266, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/traitlets/config/application.py", line 657, in launch_instance
    app.initialize(argv)
  File "</opt/conda/lib/python3.7/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize
  File "/opt/conda/lib/python3.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/notebook/notebookapp.py", line 1628, in initialize
    self.init_webapp()
  File "/opt/conda/lib/python3.7/site-packages/notebook/notebookapp.py", line 1407, in init_webapp
    self.http_server.listen(port, self.ip)
  File "/opt/conda/lib/python3.7/site-packages/tornado/tcpserver.py", line 151, in listen
    sockets = bind_sockets(port, address=address)
  File "/opt/conda/lib/python3.7/site-packages/tornado/netutil.py", line 174, in bind_sockets
    sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.