Skip to content

Docker compose up (installation) fails #102

@KrustyDerClown

Description

@KrustyDerClown

This occurs under windows and linux

(66/66) Installing subversion (1.9.7-r0)
Executing subversion-1.9.7-r0.pre-install
Executing busybox-1.26.2-r11.trigger
OK: 326 MiB in 89 packages
Removing intermediate container a091584b1588
 ---> 10e598fcf691
Step 6/7 : RUN pip install -r requirements.txt
 ---> Running in c26e696a0816
Collecting flask (from -r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/cd/77/59df23681f4fd19b7cbbb5e92484d46ad587554f5d490f33ef907e456132/Flask-2.0.3-py3-none-any.whl (95kB)
Collecting flask-cors (from -r requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/db/84/901e700de86604b1c4ef4b57110d4e947c218b9997adf5d38fa7da493bce/Flask_Cors-3.0.10-py2.py3-none-any.whl
Collecting peewee (from -r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/a9/50/1dd5ea74c559df4afb8391f8d05f0fec685dbe8effba13bb9072901eb288/peewee-3.16.2.tar.gz (2.9MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  Complete output from command /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp6f678wxj:
  /tmp/tmp_pw_sqlite3_zzc8ptgy/test_pw_sqlite3.c:1:21: fatal error: sqlite3.h: No such file or directory
   #include <sqlite3.h>
                       ^
  compilation terminated.
  setup.py:110: UserWarning: Could not find libsqlite3, SQLite extensions will not be built.
    warnings.warn('Could not find libsqlite3, SQLite extensions will not '
  unable to compile sqlite3 C extensions - missing headers?
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-hov778t4/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 163, in get_requires_for_build_wheel
      config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-hov778t4/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 143, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-hov778t4/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 196, in <module>
      _do_setup(extension_support, sqlite_extension_support)
    File "setup.py", line 150, in _do_setup
      version=__import__('peewee').__version__,
  ModuleNotFoundError: No module named 'peewee'
  
  ----------------------------------------
Command "/usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp6f678wxj" failed with error code 1 in /tmp/pip-install-q6tw5tww/peewee
You are using pip version 19.0.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Service 'backend' failed to build: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions