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

Error when installing mmf on google colab. #1312

Open
BasselAli1 opened this issue May 8, 2023 · 0 comments
Open

Error when installing mmf on google colab. #1312

BasselAli1 opened this issue May 8, 2023 · 0 comments

Comments

@BasselAli1
Copy link

I get these errors when installing MMF on google colab.
First, When I type !pip install --editable . I get this error

  Building editable for mmf (pyproject.toml) ... done
  Created wheel for mmf: filename=mmf-1.0.0rc12-0.editable-cp310-cp310-linux_x86_64.whl size=10588 sha256=4d121c56332420320879c95ff77cbb4a3465bb588f18d9712f0585908568b2c9
  Stored in directory: /tmp/pip-ephem-wheel-cache-oh5ooluu/wheels/b3/63/59/8bf95b4bae5a77471bbefa349a72165a95cb27aad97024a3ac
  error: subprocess-exited-with-error
  
  × Building wheel for tokenizers (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for tokenizers (pyproject.toml) ... error
  ERROR: Failed building wheel for tokenizers
Successfully built mmf
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects

Second, When I type !pip install --editable . --user --no-build-isolation I get this error

Collecting tokenizers<0.11,>=0.10.1
  Using cached tokenizers-0.10.3.tar.gz (212 kB)
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Third, When I type pip install git+https://github.com/facebookresearch/mmf.git I get this error

Building wheels for collected packages: mmf, tokenizers
  Building wheel for mmf (pyproject.toml) ... done
  Created wheel for mmf: filename=mmf-1.0.0rc12-cp310-cp310-linux_x86_64.whl size=703107 sha256=75fc39f940496ed349b40f5caaae91c0ea869b3da36c42ff563260d035d7fcbe
  Stored in directory: /tmp/pip-ephem-wheel-cache-8qso4y9s/wheels/93/8e/85/4bf4210268712c844b1678f4ddb81a6d6b3639fe1921f61ef3
  error: subprocess-exited-with-error
  
  × Building wheel for tokenizers (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for tokenizers (pyproject.toml) ... error
  ERROR: Failed building wheel for tokenizers
Successfully built mmf
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
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