-
Notifications
You must be signed in to change notification settings - Fork 316
adding environment setup script and instructions in readme #1
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
Conversation
|
Hi @duncankmckinnon! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@duncankmckinnon Having a similar error with this script on Linux ARM64.
oojas@fremont-jetson:~/code/dd/vjepa2$ ./bin/developer_setup.sh
Using CPython 3.11.13
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
Installing all dependencies from requirements.txt...
× No solution found when resolving dependencies:
╰─▶ Because only the following versions of decord are available:
decord==0.0.1b20190911
decord==0.0.1b20190912
decord==0.0.1b20190913
decord==0.0.1b20190927
decord==0.0.1
decord==0.2.0b20190927
decord==0.2.0b20190929
decord==0.2.0
decord==0.3.0
decord==0.3.1
decord==0.3.2
decord==0.3.3
decord==0.3.4
decord==0.3.5
decord==0.3.6
decord==0.3.7
decord==0.3.8
decord==0.3.9
decord==0.4.0
decord==0.4.1
decord==0.4.2
decord==0.5.0
decord==0.5.1
decord==0.5.2
decord==0.6.0
and decord<=0.0.1b20190927 has no wheels with a matching platform tag (e.g., `manylinux_2_31_aarch64`), we can conclude that decord<=0.0.1b20190927 cannot be used.
And because decord==0.0.1 has no wheels with a matching Python ABI tag (e.g., `cp311`), we can conclude that decord<0.2.0b20190927 cannot be used.
And because decord>=0.2.0b20190927,<=0.2.0b20190929 has no wheels with a matching platform tag (e.g., `manylinux_2_31_aarch64`) and decord==0.2.0 has no wheels with a
matching Python ABI tag (e.g., `cp311`), we can conclude that decord<0.3.0 cannot be used.
And because decord>=0.3.0 has no wheels with a matching platform tag (e.g., `manylinux_2_31_aarch64`) and you require decord, we can conclude that your requirements are
unsatisfiable.
hint: Wheels are available for `decord` (v0.0.1b20190927) on the following platform: `manylinux1_x86_64`
hint: You require CPython 3.11 (`cp311`), but we only found wheels for `decord` (v0.0.1) with the following Python ABI tags: `cp35m`, `cp36m`, `cp37m`
|
Hmm, @oojassalunke - I could include the linux arm64 setup in the workaround if that fixes the issue? Currently it only uses the different installation for mac arm64 chips |
|
Hello @duncankmckinnon, thanks for contributing this - I've referred other users to this PR and they've found it helpful. I'm wondering if we could commit this without a new Python file. Could you modify the PR to simply update some README text to swap out the version of |
|
Closing this out--feel free to address Matt's comment and resubmit and we'll take another look. |
This change adds a script that can be run to setup the development environment for the project in a
.venvfolder created usinguvand python3.11 (support for decord is not available in 3.12).It gracefully accounts for the lack of Apple Silicon support in the
decordpackage, which would otherwise prevent users from setting up their environment with the provided instructions. For users on other systems, the setup is unaffected but benefits from the speed and robustness ofuvfor package management.