Having trouble installing papermill package

Hi,
I’m trying to install the package papermill in python, but i’m getting the following error:

Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-13e4qx02/pyzmq/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-ms6n7q1m/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-13e4qx02/pyzmq/

I’m assuming it’s because one of the dependencies has already been installed? I do not know how to handle this, unfortunately.

Hi can you share you Dockerfile, requirements.txt and packages.txt file. I’m guessing papermill requires an OS level package added to packages.txt

actually i think i’ve resolved it. Please add the following lines to your packages.txt file.

gcc
libc-dev
python3-dev
zeromq-dev

Thank you. Sorry for the delay in checking your e-mail. I will make the change and test it here!

Regards,

It worked, thanks. I will continue my trial now. :slight_smile:

2 Likes