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

can't use bootstrap.py to generate HPCCM container #157

Closed
chenxull opened this issue Jun 2, 2019 · 2 comments · Fixed by #158
Closed

can't use bootstrap.py to generate HPCCM container #157

chenxull opened this issue Jun 2, 2019 · 2 comments · Fixed by #158

Comments

@chenxull
Copy link

chenxull commented Jun 2, 2019

i use sudo docker build -t hpccm -f Dockerfile . to generate HPCCM container ,but meet some problem。

ERROR

Sending build context to Docker daemon  6.144kB
Step 1/3 : FROM python:3-slim
 ---> ca7f9e245002
Step 2/3 : RUN pip install --no-cache-dir hpccm
 ---> Running in b34d42cd6c00
Collecting hpccm
  Downloading https://files.pythonhosted.org/packages/b8/bd/a88fe1e1fa0bf5b17f3a2d4d001050bdb1e2c89cd9bf5bb24c47b314b33b/hpccm-19.5.0.tar.gz (133kB)
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-biiwov0l/hpccm/setup.py", line 10, in <module>
        from hpccm.version import __version__
      File "/tmp/pip-install-biiwov0l/hpccm/hpccm/__init__.py", line 22, in <module>
        from hpccm.Stage import Stage
      File "/tmp/pip-install-biiwov0l/hpccm/hpccm/Stage.py", line 25, in <module>
        from hpccm.primitives.baseimage import baseimage
      File "/tmp/pip-install-biiwov0l/hpccm/hpccm/primitives/__init__.py", line 24, in <module>
        from hpccm.primitives.runscript import runscript
      File "/tmp/pip-install-biiwov0l/hpccm/hpccm/primitives/runscript.py", line 23, in <module>
        from six.moves import shlex_quote
    ModuleNotFoundError: No module named 'six'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-biiwov0l/hpccm/
The command '/bin/sh -c pip install --no-cache-dir hpccm' returned a non-zero code: 1
@samcmill
Copy link
Collaborator

samcmill commented Jun 2, 2019

Hi @chenxull, thanks for the problem report. I understand the issue and hope to have a fix ready soon.

@samcmill
Copy link
Collaborator

samcmill commented Jun 3, 2019

Fixed in version 19.5.1.

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

Successfully merging a pull request may close this issue.

2 participants