superdesk
superdesk copied to clipboard
docker-compose fails to build pubapi
I'm following the steps in DEVSETUP.md on Linux Mint 18.3, and when running docker-compose run superdesk ./scripts/fig_wrapper.sh python3 manage.py users:create -u admin -p admin -e '[email protected]' --admin I receive the following error:
Downloading/unpacking cryptography>=2.1.4 (from pyOpenSSL->flask-sentinel==0.0.4->-r /tmp/requirements.txt (line 8))
Running setup.py (path:/tmp/pip_build_root/cryptography/setup.py) egg_info for package cryptography
error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy'
Complete output from command python setup.py egg_info:
error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/cryptography
Storing debug log for failure in /root/.pip/pip.log
ERROR: Service 'pubapi' failed to build: The command '/bin/sh -c cd /tmp && pip3 install -U -r /tmp/requirements.txt' returned a non-zero code: 1
After I run the command ./scripts/docker-local-demo.sh
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/python-twi tter Storing debug log for failure in /root/.pip/pip.log ERROR: Service 'superdesk' failed to build: The command '/bin/sh -c pip3 install -U -r requ irements.txt' returned a non-zero code: 1