Skip to content

Unable to install octo with pip #45

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

Open
sebbyjp opened this issue Feb 4, 2024 · 0 comments · May be fixed by #46
Open

Unable to install octo with pip #45

sebbyjp opened this issue Feb 4, 2024 · 0 comments · May be fixed by #46

Comments

@sebbyjp
Copy link

sebbyjp commented Feb 4, 2024

Enabling python -m pip install git+https://github.com/octo-models/octo is useful in colabs for example but creates an error:
https://colab.research.google.com/drive/1Arhc2gvfMmWUEDCYqeopSKr0zzzfx8Q-#scrollTo=2ZDF2sSQ8hmB

collecting git+https://github.com/octo-models/octo
  Cloning https://github.com/octo-models/octo to /tmp/pip-req-build-6fhdexfl
  Running command git clone --filter=blob:none --quiet https://github.com/octo-models/octo /tmp/pip-req-build-6fhdexfl
  Resolved https://github.com/octo-models/octo to commit 653c54acde686fde619855f2eac0dd6edad7116b
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: octo
  Building wheel for octo (pyproject.toml) ... done
  Created wheel for octo: filename=octo-0.0.0-py3-none-any.whl size=1898 sha256=3e00c63e651d2ed51d54253c47ca02ed3ce75281d633d63e6bedadd356ad5be8
  Stored in directory: /tmp/pip-ephem-wheel-cache-fx6kt1v_/wheels/ca/2e/83/3e87bf03d7e424b0e89f061c2ed34eb2a6cee22ed0cfa40b52
Successfully built octo
Installing collected packages: octo
Successfully installed octo-0.0.0
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-1-230dc17a8c11>](https://localhost:8080/#) in <cell line: 9>()
      7 """
      8 import numpy as np
----> 9 from octo.data.dataset import make_interleaved_dataset
     10 from octo.data.oxe import make_oxe_dataset_kwargs_and_weights
     11 import tensorflow as tf

ModuleNotFoundError: No module named 'octo.data'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
@sebbyjp sebbyjp linked a pull request Feb 4, 2024 that will close this issue
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.

1 participant