Open
Description
I tried building the project while following the instructions in the INSTALL.rst.
When executing
$ docker-compose up -d
I get the following error:
File "/opt/lib/python2.7/site-packages/pip/_internal/locations.py", line 107
assert not (user and prefix), f"user={user} prefix={prefix}"
^SyntaxError: invalid syntax
....
....
....
Traceback (most recent call last): │··································
File "/opt/bin/pip", line 9, in <module> │··································
load_entry_point('pip==21.0', 'console_scripts', 'pip')() │··································
File "/opt/local/lib/python2.7/site-packages/pkg_resources.py", line 353, in load_entry_point │··································
return get_distribution(dist).load_entry_point(group, name) │··································
File "/opt/local/lib/python2.7/site-packages/pkg_resources.py", line 2321, in load_entry_point │··································
return ep.load() │··································
File "/opt/local/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load │··································
entry = __import__(self.module_name, globals(),globals(), ['__name__']) │··································
File "/opt/local/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 60 │··································
sys.stderr.write(f"ERROR: {exc}") │··································
^ │··································
SyntaxError: invalid syntax │··································
The command '/bin/sh -c source /opt/bin/activate && pip install --upgrade pip && pip install --upgrade setuptools && pip install pycparser==2.13 && pip install Cython==0.21.2 && pip i│··································
nstall -r requirements.txt' returned a non-zero code: 1 │··································
ERROR: Service 'backend' failed to build │··································
root@ubuntu-poliscoops:~/poliscoops/docker#
System specs of the host system were:
Date: 25.01.21
Freshly setup Ubuntu 20.04
docker-compose 1.28.0
docker 19.03.8
Metadata
Assignees
Labels
No labels
Activity