Skip to content

Instantly share code, notes, and snippets.

@marcelrv
Last active December 1, 2019 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelrv/ec28923ea3fb5719872157a3f27f38f6 to your computer and use it in GitHub Desktop.
Save marcelrv/ec28923ea3fb5719872157a3f27f38f6 to your computer and use it in GitHub Desktop.
TSD build error
marcel@docker-server:~/TheSpaghettiDetective$ docker-compose --verbose up --build -d
compose.config.config.find: Using configuration files: ./docker-compose.yml
docker.utils.config.find_config_file: Trying paths: ['/home/marcel/.docker/config.json', '/home/marcel/.dockercfg']
docker.utils.config.find_config_file: Found file at path: /home/marcel/.docker/config.json
docker.auth.load_config: Couldn't find auth-related section ; attempting to interpret as auth-only file
docker.auth.parse_auth: Auth data for auths is absent. Client might be using a credentials store instead.
docker.auth.parse_auth: Auth data for HttpHeaders is absent. Client might be using a credentials store instead.
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/version HTTP/1.1" 200 535
compose.cli.command.get_client: docker-compose version 1.24.1, build 4667896b
docker-py version: 3.7.3
CPython version: 3.6.8
OpenSSL version: OpenSSL 1.1.0j 20 Nov 2018
compose.cli.command.get_client: Docker base_url: http+docker://localhost
compose.cli.command.get_client: Docker version: Platform={'Name': ''}, Components=[{'Name': 'Engine', 'Version': '18.09.7', 'Details': {'ApiVersion': '1.39', 'Arch': 'amd64', 'BuildTime': '2019-08-14T19:41:23.000000000+00:00', 'Experimental': 'false', 'GitCommit': '2d0083d', 'GoVersion': 'go1.10.1', 'KernelVersion': '5.0.0-36-generic', 'MinAPIVersion': '1.12', 'Os': 'linux'}}], Version=18.09.7, ApiVersion=1.39, MinAPIVersion=1.12, GitCommit=2d0083d, GoVersion=go1.10.1, Os=linux, Arch=amd64, KernelVersion=5.0.0-36-generic, BuildTime=2019-08-14T19:41:23.000000000+00:00
compose.cli.verbose_proxy.proxy_callable: docker inspect_network <- ('thespaghettidetective_default')
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/networks/thespaghettidetective_default HTTP/1.1" 200 586
compose.cli.verbose_proxy.proxy_callable: docker inspect_network -> {'Attachable': True,
'ConfigFrom': {'Network': ''},
'ConfigOnly': False,
'Containers': {},
'Created': '2019-12-01T21:24:17.346816692+01:00',
'Driver': 'bridge',
'EnableIPv6': False,
'IPAM': {'Config': [{'Gateway': '172.20.0.1', 'Subnet': '172.20.0.0/16'}],
'Driver': 'default',
'Options': None},
...
compose.cli.verbose_proxy.proxy_callable: docker info <- ()
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/info HTTP/1.1" 200 None
compose.cli.verbose_proxy.proxy_callable: docker info -> {'Architecture': 'x86_64',
'BridgeNfIp6tables': True,
'BridgeNfIptables': True,
'CPUSet': True,
'CPUShares': True,
'CgroupDriver': 'cgroupfs',
'ClusterAdvertise': '',
'ClusterStore': '',
'ContainerdCommit': {'Expected': '', 'ID': ''},
'Containers': 28,
...
compose.cli.verbose_proxy.proxy_callable: docker inspect_network <- ('thespaghettidetective_default')
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/networks/thespaghettidetective_default HTTP/1.1" 200 586
compose.cli.verbose_proxy.proxy_callable: docker inspect_network -> {'Attachable': True,
'ConfigFrom': {'Network': ''},
'ConfigOnly': False,
'Containers': {},
'Created': '2019-12-01T21:24:17.346816692+01:00',
'Driver': 'bridge',
'EnableIPv6': False,
'IPAM': {'Config': [{'Gateway': '172.20.0.1', 'Subnet': '172.20.0.0/16'}],
'Driver': 'default',
'Options': None},
...
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=ml_api', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dml_api%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=ml_api', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dml_api%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=web', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dweb%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=web', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dweb%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=redis', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dredis%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=redis', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dredis%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=tasks', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dtasks%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={'label': ['com.docker.compose.project=thespaghettidetective', 'com.docker.compose.service=tasks', 'com.docker.compose.oneoff=False']})
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.35/containers/json?limit=-1&all=1&size=0&trunc_cmd=0&filters=%7B%22label%22%3A+%5B%22com.docker.compose.project%3Dthespaghettidetective%22%2C+%22com.docker.compose.service%3Dtasks%22%2C+%22com.docker.compose.oneoff%3DFalse%22%5D%7D HTTP/1.1" 200 3
compose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)
compose.service.build: Building ml_api
compose.cli.verbose_proxy.proxy_callable: docker build <- (path='/home/marcel/TheSpaghettiDetective/ml_api', tag='thespaghettidetective_ml_api', rm=True, forcerm=False, pull=False, nocache=False, dockerfile=None, cache_from=None, labels=None, buildargs={}, network_mode=None, target=None, shmsize=None, extra_hosts=None, container_limits={'memory': None}, gzip=False, isolation=None, platform=None)
docker.api.build._set_auth_headers: Looking for auth config
docker.api.build._set_auth_headers: Sending auth config ('auths', 'HttpHeaders')
urllib3.connectionpool._make_request: http://localhost:None "POST /v1.35/build?t=thespaghettidetective_ml_api&q=False&nocache=False&rm=True&forcerm=False&pull=False HTTP/1.1" 200 None
compose.cli.verbose_proxy.proxy_callable: docker build -> <generator object APIClient._stream_helper at 0x7f85a1874830>
Step 1/8 : FROM thespaghettidetective/ml_api:base
---> 6eaa0374427c
Step 2/8 : WORKDIR /app
---> Using cache
---> 84ba78a1fa6a
Step 3/8 : EXPOSE 3333
---> Using cache
---> 23990786cd50
Step 4/8 : ADD . /app
---> Using cache
---> f0772b50075b
Step 5/8 : RUN cp bin/model_$(uname --m).so bin/model.so && cp bin/model_gpu_$(uname --m).so bin/model_gpu.so
---> Using cache
---> ce338597c770
Step 6/8 : RUN pip install --upgrade pip
---> Using cache
---> 698d3fdf0b7c
Step 7/8 : RUN pip install -r requirements.txt
---> Using cache
---> 461fcac4f080
Step 8/8 : RUN wget --quiet -O model/model.weights $(cat model/model.weights.url | tr -d '\r')
---> Using cache
---> ce1c5d08d42f
Successfully built ce1c5d08d42f
Successfully tagged thespaghettidetective_ml_api:latest
compose.cli.verbose_proxy.proxy_callable: docker close <- ()
compose.cli.verbose_proxy.proxy_callable: docker close -> None
compose.service.build: Building web
compose.cli.verbose_proxy.proxy_callable: docker build <- (path='/home/marcel/TheSpaghettiDetective/web', tag='thespaghettidetective_web', rm=True, forcerm=False, pull=False, nocache=False, dockerfile=None, cache_from=None, labels=None, buildargs={}, network_mode=None, target=None, shmsize=None, extra_hosts=None, container_limits={'memory': None}, gzip=False, isolation=None, platform=None)
docker.api.build._set_auth_headers: Looking for auth config
docker.api.build._set_auth_headers: Sending auth config ('auths', 'HttpHeaders')
urllib3.connectionpool._make_request: http://localhost:None "POST /v1.35/build?t=thespaghettidetective_web&q=False&nocache=False&rm=True&forcerm=False&pull=False HTTP/1.1" 200 None
compose.cli.verbose_proxy.proxy_callable: docker build -> <generator object APIClient._stream_helper at 0x7f85a1ab8518>
Step 1/7 : FROM thespaghettidetective/web:base
---> 5fa706ebf8e9
Step 2/7 : WORKDIR /app
---> Using cache
---> 1c890feb5c84
Step 3/7 : EXPOSE 3334
---> Using cache
---> 2588ff8ba204
Step 4/7 : ADD . /app
---> 285ff86a1a8a
Step 5/7 : RUN pip install -U pip
---> Running in 324050eae56c
Collecting pip
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
Found existing installation: pip 19.1.1
Uninstalling pip-19.1.1:
Successfully uninstalled pip-19.1.1
Successfully installed pip-19.3.1
Removing intermediate container 324050eae56c
---> 1dc2d643a95b
Step 6/7 : RUN pip install -r requirements.txt
---> Running in 7910b6a3d4ed
Requirement already satisfied: ipdb in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 1)) (0.12)
Collecting django==2.1.11
Downloading https://files.pythonhosted.org/packages/8c/49/d5038239995594281478bf209f8d93524ad342d500009a697b27f884668a/Django-2.1.11-py3-none-any.whl (7.3MB)
Requirement already satisfied: gunicorn==19.9.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (19.9.0)
Requirement already satisfied: whitenoise==4.1.2 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 4)) (4.1.2)
Requirement already satisfied: dj-database-url==0.5.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 5)) (0.5.0)
Requirement already satisfied: psycopg2==2.7.7 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 6)) (2.7.7)
Requirement already satisfied: django-allauth==0.38.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 7)) (0.38.0)
Requirement already satisfied: django-widget-tweaks==1.4.3 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 8)) (1.4.3)
Collecting djangorestframework==3.9.1
Downloading https://files.pythonhosted.org/packages/ef/13/0f394111124e0242bf3052c5578974e88e62e3715f0daf76b7c987fc6705/djangorestframework-3.9.1-py2.py3-none-any.whl (950kB)
Requirement already satisfied: django-extensions==2.1.4 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 10)) (2.1.4)
Requirement already satisfied: redis==3.2.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 11)) (3.2.0)
Requirement already satisfied: django-simple-history==2.7.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 12)) (2.7.0)
Requirement already satisfied: jsonfield==2.0.2 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 13)) (2.0.2)
Requirement already satisfied: django-bootstrap-pagination==1.7.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 14)) (1.7.0)
Requirement already satisfied: newrelic==4.12.0.113 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 15)) (4.12.0.113)
Requirement already satisfied: raven==6.10.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 16)) (6.10.0)
Requirement already satisfied: django-settings-export==1.2.1 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 17)) (1.2.1)
Requirement already satisfied: google-cloud-storage==1.14.0 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 18)) (1.14.0)
Requirement already satisfied: google-api-python-client==1.7.8 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 19)) (1.7.8)
Requirement already satisfied: oauth2client==4.1.3 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 20)) (4.1.3)
Requirement already satisfied: authy==2.2.3 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 21)) (2.2.3)
Requirement already satisfied: phonenumbers==8.10.5 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 22)) (8.10.5)
Requirement already satisfied: twilio==6.24.1 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 23)) (6.24.1)
Collecting django-request-logging==0.6.9
Downloading https://files.pythonhosted.org/packages/e8/eb/27174b195b597d0462e69dbfa28adb8016721697fabe8cedcd3e631c711a/django_request_logging-0.6.9-py2.py3-none-any.whl
Requirement already satisfied: celery[redis]==4.2.1 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 25)) (4.2.1)
Requirement already satisfied: django-safedelete==0.5.1 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 26)) (0.5.1)
Collecting Pillow==6.2.1
Downloading https://files.pythonhosted.org/packages/5b/bb/cdc8086db1f15d0664dd22a62c69613cdc00f1dd430b5b19df1bea83f2a3/Pillow-6.2.1.tar.gz (37.7MB)
Requirement already satisfied: django-hijack==2.1.10 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 28)) (2.1.10)
Requirement already satisfied: daphne==2.2.5 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 29)) (2.2.5)
Requirement already satisfied: asgiref==2.3.2 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 30)) (2.3.2)
Requirement already satisfied: channels==2.1.7 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 31)) (2.1.7)
Requirement already satisfied: channels-redis==2.3.3 in /usr/local/lib/python3.6/site-packages (from -r requirements.txt (line 32)) (2.3.3)
Collecting django-jstemplate==1.3.8
Downloading https://files.pythonhosted.org/packages/d2/54/c37b7bcf93b4cf7e06c562ae47aa039172865a31aca292d6191fd4c4167d/django-jstemplate-1.3.8.tar.gz
Collecting pushbullet.py==0.11.0
Downloading https://files.pythonhosted.org/packages/72/91/78912bfb333f412be8f52bba4aa1c9b68d7f612e0fbc9fc5b88b4c894d26/pushbullet.py-0.11.0-py2.py3-none-any.whl
Collecting pytelegrambotapi==3.6.6
Downloading https://files.pythonhosted.org/packages/25/5e/9711642455c4e17b1202d4f6403ede0fef37fc145038aee7193f3b24445e/pyTelegramBotAPI-3.6.6.tar.gz (49kB)
Requirement already satisfied: ipython>=5.1.0; python_version >= "3.4" in /usr/local/lib/python3.6/site-packages (from ipdb->-r requirements.txt (line 1)) (7.5.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/site-packages (from ipdb->-r requirements.txt (line 1)) (41.0.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.6/site-packages (from django==2.1.11->-r requirements.txt (line 2)) (2019.1)
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from django-allauth==0.38.0->-r requirements.txt (line 7)) (2.21.0)
Requirement already satisfied: requests-oauthlib>=0.3.0 in /usr/local/lib/python3.6/site-packages (from django-allauth==0.38.0->-r requirements.txt (line 7)) (1.2.0)
Requirement already satisfied: python3-openid>=3.0.8 in /usr/local/lib/python3.6/site-packages (from django-allauth==0.38.0->-r requirements.txt (line 7)) (3.1.0)
Requirement already satisfied: six>=1.2 in /usr/local/lib/python3.6/site-packages (from django-extensions==2.1.4->-r requirements.txt (line 10)) (1.12.0)
Requirement already satisfied: google-api-core<2.0.0dev,>=1.6.0 in /usr/local/lib/python3.6/site-packages (from google-cloud-storage==1.14.0->-r requirements.txt (line 18)) (1.10.0)
Requirement already satisfied: google-resumable-media>=0.3.1 in /usr/local/lib/python3.6/site-packages (from google-cloud-storage==1.14.0->-r requirements.txt (line 18)) (0.3.2)
Requirement already satisfied: google-cloud-core<0.30dev,>=0.29.0 in /usr/local/lib/python3.6/site-packages (from google-cloud-storage==1.14.0->-r requirements.txt (line 18)) (0.29.1)
Requirement already satisfied: google-auth-httplib2>=0.0.3 in /usr/local/lib/python3.6/site-packages (from google-api-python-client==1.7.8->-r requirements.txt (line 19)) (0.0.3)
Requirement already satisfied: google-auth>=1.4.1 in /usr/local/lib/python3.6/site-packages (from google-api-python-client==1.7.8->-r requirements.txt (line 19)) (1.6.3)
Requirement already satisfied: uritemplate<4dev,>=3.0.0 in /usr/local/lib/python3.6/site-packages (from google-api-python-client==1.7.8->-r requirements.txt (line 19)) (3.0.0)
Requirement already satisfied: httplib2<1dev,>=0.9.2 in /usr/local/lib/python3.6/site-packages (from google-api-python-client==1.7.8->-r requirements.txt (line 19)) (0.12.3)
Requirement already satisfied: rsa>=3.1.4 in /usr/local/lib/python3.6/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 20)) (4.0)
Requirement already satisfied: pyasn1-modules>=0.0.5 in /usr/local/lib/python3.6/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 20)) (0.2.5)
Requirement already satisfied: pyasn1>=0.1.7 in /usr/local/lib/python3.6/site-packages (from oauth2client==4.1.3->-r requirements.txt (line 20)) (0.4.5)
Requirement already satisfied: simplejson>=3.4.0 in /usr/local/lib/python3.6/site-packages (from authy==2.2.3->-r requirements.txt (line 21)) (3.16.0)
Requirement already satisfied: PyJWT>=1.4.2 in /usr/local/lib/python3.6/site-packages (from twilio==6.24.1->-r requirements.txt (line 23)) (1.7.1)
Requirement already satisfied: pysocks; python_version >= "3.0" in /usr/local/lib/python3.6/site-packages (from twilio==6.24.1->-r requirements.txt (line 23)) (1.7.0)
Requirement already satisfied: billiard<3.6.0,>=3.5.0.2 in /usr/local/lib/python3.6/site-packages (from celery[redis]==4.2.1->-r requirements.txt (line 25)) (3.5.0.5)
Requirement already satisfied: kombu<5.0,>=4.2.0 in /usr/local/lib/python3.6/site-packages (from celery[redis]==4.2.1->-r requirements.txt (line 25)) (4.5.0)
Requirement already satisfied: django-compat>=1.0.14 in /usr/local/lib/python3.6/site-packages (from django-hijack==2.1.10->-r requirements.txt (line 28)) (1.0.15)
Requirement already satisfied: twisted>=18.7 in /usr/local/lib/python3.6/site-packages (from daphne==2.2.5->-r requirements.txt (line 29)) (19.2.0)
Requirement already satisfied: autobahn>=0.18 in /usr/local/lib/python3.6/site-packages (from daphne==2.2.5->-r requirements.txt (line 29)) (19.5.1)
Requirement already satisfied: async-timeout<4.0,>=2.0 in /usr/local/lib/python3.6/site-packages (from asgiref==2.3.2->-r requirements.txt (line 30)) (3.0.1)
Requirement already satisfied: aioredis~=1.0 in /usr/local/lib/python3.6/site-packages (from channels-redis==2.3.3->-r requirements.txt (line 32)) (1.2.0)
Requirement already satisfied: msgpack~=0.6.0 in /usr/local/lib/python3.6/site-packages (from channels-redis==2.3.3->-r requirements.txt (line 32)) (0.6.1)
Collecting websocket-client
Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
Collecting python-magic
Downloading https://files.pythonhosted.org/packages/42/a1/76d30c79992e3750dac6790ce16f056f870d368ba142f83f75f694d93001/python_magic-0.4.15-py2.py3-none-any.whl
Requirement already satisfied: pickleshare in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.7.5)
Requirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (2.0.9)
Requirement already satisfied: pygments in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (2.4.0)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (4.7.0)
Requirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (4.3.2)
Requirement already satisfied: jedi>=0.10 in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.13.3)
Requirement already satisfied: decorator in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (4.4.0)
Requirement already satisfied: backcall in /usr/local/lib/python3.6/site-packages (from ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.1.0)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.6/site-packages (from requests->django-allauth==0.38.0->-r requirements.txt (line 7)) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests->django-allauth==0.38.0->-r requirements.txt (line 7)) (3.0.4)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->django-allauth==0.38.0->-r requirements.txt (line 7)) (1.24.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->django-allauth==0.38.0->-r requirements.txt (line 7)) (2019.3.9)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.6/site-packages (from requests-oauthlib>=0.3.0->django-allauth==0.38.0->-r requirements.txt (line 7)) (3.0.1)
Requirement already satisfied: defusedxml in /usr/local/lib/python3.6/site-packages (from python3-openid>=3.0.8->django-allauth==0.38.0->-r requirements.txt (line 7)) (0.6.0)
Requirement already satisfied: protobuf>=3.4.0 in /usr/local/lib/python3.6/site-packages (from google-api-core<2.0.0dev,>=1.6.0->google-cloud-storage==1.14.0->-r requirements.txt (line 18)) (3.7.1)
Requirement already satisfied: googleapis-common-protos!=1.5.4,<2.0dev,>=1.5.3 in /usr/local/lib/python3.6/site-packages (from google-api-core<2.0.0dev,>=1.6.0->google-cloud-storage==1.14.0->-r requirements.txt (line 18)) (1.5.10)
Requirement already satisfied: cachetools>=2.0.0 in /usr/local/lib/python3.6/site-packages (from google-auth>=1.4.1->google-api-python-client==1.7.8->-r requirements.txt (line 19)) (3.1.0)
Requirement already satisfied: amqp<3.0,>=2.4.0 in /usr/local/lib/python3.6/site-packages (from kombu<5.0,>=4.2.0->celery[redis]==4.2.1->-r requirements.txt (line 25)) (2.4.2)
Requirement already satisfied: hyperlink>=17.1.1 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (19.0.0)
Requirement already satisfied: PyHamcrest>=1.9.0 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (1.9.0)
Requirement already satisfied: zope.interface>=4.4.2 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (4.6.0)
Requirement already satisfied: incremental>=16.10.1 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (17.5.0)
Requirement already satisfied: Automat>=0.3.0 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (0.7.0)
Requirement already satisfied: constantly>=15.1 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (15.1.0)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.6/site-packages (from twisted>=18.7->daphne==2.2.5->-r requirements.txt (line 29)) (19.1.0)
Requirement already satisfied: txaio>=18.8.1 in /usr/local/lib/python3.6/site-packages (from autobahn>=0.18->daphne==2.2.5->-r requirements.txt (line 29)) (18.8.1)
Requirement already satisfied: hiredis in /usr/local/lib/python3.6/site-packages (from aioredis~=1.0->channels-redis==2.3.3->-r requirements.txt (line 32)) (1.0.0)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/site-packages (from prompt-toolkit<2.1.0,>=2.0.0->ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.1.7)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python3.6/site-packages (from pexpect; sys_platform != "win32"->ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.6.0)
Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.6/site-packages (from traitlets>=4.2->ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.2.0)
Requirement already satisfied: parso>=0.3.0 in /usr/local/lib/python3.6/site-packages (from jedi>=0.10->ipython>=5.1.0; python_version >= "3.4"->ipdb->-r requirements.txt (line 1)) (0.4.0)
Requirement already satisfied: vine>=1.1.3 in /usr/local/lib/python3.6/site-packages (from amqp<3.0,>=2.4.0->kombu<5.0,>=4.2.0->celery[redis]==4.2.1->-r requirements.txt (line 25)) (1.3.0)
Building wheels for collected packages: Pillow, django-jstemplate, pytelegrambotapi
Building wheel for Pillow (setup.py): started
Building wheel for Pillow (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hhpkx_6p/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hhpkx_6p/Pillow/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-19bchbsf --python-tag cp36
cwd: /tmp/pip-install-hhpkx_6p/Pillow/
Complete output (172 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/__main__.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/__init__.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_binary.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FontFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_version.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/features.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_util.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/Image.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TarIO.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing top-level names to src/Pillow.egg-info/top_level.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "/tmp/pip-install-hhpkx_6p/Pillow/setup.py", line 888, in <module>
zip_safe=not (debug_build() or PLATFORM_MINGW),
File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 192, in run
self.run_command('build')
File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-install-hhpkx_6p/Pillow/setup.py", line 687, in build_extensions
raise RequiredDependencyException(f)
__main__.RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-hhpkx_6p/Pillow/setup.py", line 903, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Failed building wheel for Pillow
Running setup.py clean for Pillow
Building wheel for django-jstemplate (setup.py): started
Building wheel for django-jstemplate (setup.py): finished with status 'done'
Created wheel for django-jstemplate: filename=django_jstemplate-1.3.8-cp36-none-any.whl size=24439 sha256=5c9a4c87b83dc63f1fbca1ced8ade55aae68f64c9b4845923f57a8ddd7b9ec2f
Stored in directory: /root/.cache/pip/wheels/76/04/5e/7d4a639c56a72affb4bb5809008ebecef823890044f6c2ba1a
Building wheel for pytelegrambotapi (setup.py): started
Building wheel for pytelegrambotapi (setup.py): finished with status 'done'
Created wheel for pytelegrambotapi: filename=pyTelegramBotAPI-3.6.6-cp36-none-any.whl size=44857 sha256=6cb213fcd2cff42f3bbaffeaf77cd27ad432a6f1a98bd38f19b320fd5a10bcd4
Stored in directory: /root/.cache/pip/wheels/ae/69/d7/26f1fb04ac4d4c95bff643cea765a8e91c4348da25b4744e08
Successfully built django-jstemplate pytelegrambotapi
Failed to build Pillow
Installing collected packages: django, djangorestframework, django-request-logging, Pillow, django-jstemplate, websocket-client, python-magic, pushbullet.py, pytelegrambotapi
Found existing installation: Django 2.1.7
Uninstalling Django-2.1.7:
Successfully uninstalled Django-2.1.7
Found existing installation: djangorestframework 3.9.0
Uninstalling djangorestframework-3.9.0:
Successfully uninstalled djangorestframework-3.9.0
Found existing installation: django-request-logging 0.6.8
Uninstalling django-request-logging-0.6.8:
Successfully uninstalled django-request-logging-0.6.8
Found existing installation: Pillow 5.4.1
Uninstalling Pillow-5.4.1:
Successfully uninstalled Pillow-5.4.1
Running setup.py install for Pillow: started
Running setup.py install for Pillow: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hhpkx_6p/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hhpkx_6p/Pillow/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-fb8vo33a/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-hhpkx_6p/Pillow/
Complete output (174 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/__main__.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/__init__.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_binary.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FontFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_version.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/features.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/_util.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/Image.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/TarIO.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-3.6/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
writing top-level names to src/Pillow.egg-info/top_level.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "/tmp/pip-install-hhpkx_6p/Pillow/setup.py", line 888, in <module>
zip_safe=not (debug_build() or PLATFORM_MINGW),
File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/local/lib/python3.6/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-install-hhpkx_6p/Pillow/setup.py", line 687, in build_extensions
raise RequiredDependencyException(f)
__main__.RequiredDependencyException: zlib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-hhpkx_6p/Pillow/setup.py", line 903, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
Rolling back uninstall of Pillow
Moving to /usr/local/lib/python3.6/site-packages/PIL/
from /usr/local/lib/python3.6/site-packages/~IL
Moving to /usr/local/lib/python3.6/site-packages/Pillow-5.4.1.dist-info/
from /usr/local/lib/python3.6/site-packages/~illow-5.4.1.dist-info
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hhpkx_6p/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hhpkx_6p/Pillow/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-fb8vo33a/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
ERROR: compose.cli.main.main: Service 'web' failed to build: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment