Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following the INSTALL.rst docker-compose fails #112

Open
jderdak opened this issue Jan 25, 2021 · 0 comments
Open

Following the INSTALL.rst docker-compose fails #112

jderdak opened this issue Jan 25, 2021 · 0 comments

Comments

@jderdak
Copy link

jderdak commented Jan 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant