Error when running pip install gunicorn graphite-api
Opened this issue · 0 comments
ZoltanSzilagyiCse commented
Everything is working fine until step 13, which is RUN pip install gunicorn graphite-api
. I got the following error:
Step 13/20 : RUN pip install gunicorn graphite-api
---> Running in 5f2781987dfe
Downloading/unpacking gunicorn
Downloading/unpacking graphite-api
Downloading/unpacking cairocffi (from graphite-api)
Running setup.py (path:/tmp/pip-build-VfiaDO/cairocffi/setup.py) egg_info for package cairocffi
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-VfiaDO/cairocffi/setup.py", line 7, in <module>
'cairocffi does not support Python 2.x anymore. '
RuntimeError: cairocffi does not support Python 2.x anymore. Please use Python 3 or install an older version of cairocffi.
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-VfiaDO/cairocffi/setup.py", line 7, in <module>
'cairocffi does not support Python 2.x anymore. '
RuntimeError: cairocffi does not support Python 2.x anymore. Please use Python 3 or install an older version of cairocffi.
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-VfiaDO/cairocffi
Storing debug log for failure in /root/.pip/pip.log
The command '/bin/sh -c pip install gunicorn graphite-api' returned a non-zero code: 1
I use the following command to build Dockerfile: docker build --tag=myTag .
. Also, the image not accessable I got the following error when trying to run docker run --name graphite -d creativearea/rpi-graphite
command:
Unable to find image 'creativearea/rpi-graphite:latest' locally
docker: Error response from daemon: pull access denied for creativearea/rpi-graphite, repository does not exist or may require 'docker login'.