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

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

Open
nikosT opened this issue Apr 4, 2022 · 0 comments
Open

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

nikosT opened this issue Apr 4, 2022 · 0 comments

Comments

@nikosT
Copy link

nikosT commented Apr 4, 2022

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

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