Skip to content

Installation issue with oar-docker and oar3.0.0.dev6 #62

@nikosT

Description

@nikosT

I use the latest version (which currently is dev6). When I run the following:

  1. mkdir oar3 && cd oar3
  2. oardocker init -e buster build
  3. git clone --depth 1 --branch 3.0.0.dev6 https://github.com/oar-team/oar3.git
  4. oardocker install ./oar3

On step 4, I receive the following error before installation is finished.

Processing /tmp/install_oar.6w1gFANz/src
  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 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting fastapi>0.68.0
  Downloading fastapi-0.75.1-py3-none-any.whl (54 kB)
Collecting tabulate<0.9.0,>=0.8.9
  Downloading tabulate-0.8.9-py3-none-any.whl (25 kB)
Collecting alembic>1.7.0
  Downloading alembic-1.7.7-py3-none-any.whl (210 kB)
Requirement already satisfied: requests>=2.24.0 in /usr/local/lib/python3.7/dist-packages (from oa... (2498 more, please see e.stdout)

  STDERR:
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-98d9stqv/psycopg2_43a401cce5d64e7385fc60b55d2f585d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-98d9stqv/psycopg2_43a401cce5d64e7385fc60b55d2f585d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ld6uhe84
       cwd: /tmp/pip-install-98d9stqv/psycopg2_43a401cce5d64e7385fc60b55d2f585d/
  Complete output (4 lines):
  runnin... (9758 more, please see e.stderr)

Error: 

  RAN: /usr/bin/bash -c '/usr/bin/docker run -a STDOUT -a STDERR --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined --name oardocker_1649095420.4520016 -v /home/nikos/oar3/oar3:/tmp/postintall/oar-git:ro oardocker/buster-node:base /root/install_oar.sh /tmp/postintall/oar-git'

  STDOUT:
/tmp/install_oar.6w1gFANz/src /
/
Processing /tmp/install_oar.6w1gFANz/src
  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 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting fastapi>0.68.0
  Downloading fastapi-0.75.1-py3-none-any.whl (54 kB)
Collecting tabulate<0.9.0,>=0.8.9
  Downloading tabulate-0.8.9-py3-none-any.whl (25 kB)
Collecting alembic>1.7.0
  Downloading alembic-1.7.7-py3-none-any.whl (210 kB)
Requirement already satisfied: requests>=2.24.0 in /usr/local/lib/python3.7/dist-packages (from oa... (2498 more, please see e.stdout)

  STDERR:
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-98d9stqv/psycopg2_43a401cce5d64e7385fc60b55d2f585d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-98d9stqv/psycopg2_43a401cce5d64e7385fc60b55d2f585d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ld6uhe84
       cwd: /tmp/pip-install-98d9stqv/psycopg2_43a401cce5d64e7385fc60b55d2f585d/
  Complete output (4 lines):
  runnin... (9758 more, please see e.stderr)

EDIT: in dev7 too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions