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

Binder failed build #778

Closed
puterd opened this issue Feb 6, 2021 · 1 comment · Fixed by #779
Closed

Binder failed build #778

puterd opened this issue Feb 6, 2021 · 1 comment · Fixed by #779
Assignees

Comments

@puterd
Copy link

puterd commented Feb 6, 2021

Have this working otherwise on my local computer but thought this should be flagged for people looking to try it out:

Installing pip dependencies: ...working... Ran pip subprocess with arguments:
['/srv/conda/envs/notebook/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/jovyan/binder/condaenv.8t9ly_pt.requirements.txt']
Pip subprocess output:
Obtaining file:///home/jovyan (from -r /home/jovyan/binder/condaenv.8t9ly_pt.requirements.txt (line 1))

failed
Pip subprocess error:
    ERROR: Command errored out with exit status 1:
     command: /srv/conda/envs/notebook/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/jovyan/setup.py'"'"'; __file__='"'"'/home/jovyan/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1ruc4qkp
         cwd: /home/jovyan/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/jovyan/setup.py", line 15, in <module>
        from _setup.build_docs import build_docs
      File "/home/jovyan/_setup/build_docs.py", line 4, in <module>
        from future.utils import text_to_native_str
    ModuleNotFoundError: No module named 'future'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.


CondaEnvException: Pip failed

orge/linux-64       2 MB

  Summary:

  Install: 114 packages
  Upgrade: 4 packages

  Total download: 576 MB

──────────────────────────────────────────────────────────────────────────────────────────────

time: 149.977
Removing intermediate container 9a6cee0b61e3
The command '/bin/sh -c TIMEFORMAT='time: %3R' bash -c 'time mamba env update -p ${NB_PYTHON_PREFIX} -f "binder/environment.yml" && time mamba clean --all -f -y && mamba list -p ${NB_PYTHON_PREFIX} '' returned a non-zero code: 1
@guyer
Copy link
Member

guyer commented Feb 8, 2021

Thanks for reporting!

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

Successfully merging a pull request may close this issue.

2 participants