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

cant install on Mac. #246

Open
liyin2015 opened this issue May 12, 2022 · 4 comments
Open

cant install on Mac. #246

liyin2015 opened this issue May 12, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@liyin2015
Copy link

Instructions To Reproduce the 🐛 Bug:

  1. Full runnable code or full changes you made:
pip install .

Error message:

From https://github.com/PyTorchLightning/lightning-tutorials
   * branch            290fb466de1fcc2ac6025f74b56906592911e856 -> FETCH_HEAD
  git-lfs filter-process: git-lfs: command not found
  fatal: the remote end hung up unexpectedly
  Unable to checkout '290fb466de1fcc2ac6025f74b56906592911e856' in submodule path '_notebooks'
  error: subprocess-exited-with-error
  
  × git submodule update --init --recursive -q 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.
error: subprocess-exited-with-error

× git submodule update --init --recursive -q 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.
@liyin2015 liyin2015 added the bug Something isn't working label May 12, 2022
@zhanghang1989
Copy link
Contributor

zhanghang1989 commented May 13, 2022

It is okay on my side:

git clone [email protected]:facebookresearch/d2go.git & cd d2go
python setup.py install

What are the pytorch & detectron2 versions are you using?

@wat3rBro
Copy link
Contributor

wat3rBro commented May 13, 2022

I also tried a fresh install (latest anaconda3 version 4.12.0, python3.9.12, git version 2.31.1) and it installs correctly.

Collecting pytorch-lightning@ git+https://github.com/PyTorchLightning/pytorch-lightning@9b011606f
  Cloning https://github.com/PyTorchLightning/pytorch-lightning (to revision 9b011606f) to /private/var/folders/cr/kc3g11w92312m4fznntvqc5r0000gn/T/pip-install-190o3x67/pytorch-lightning_0d4979e642b645628523fb33940d85aa
  Running command git clone -q https://github.com/PyTorchLightning/pytorch-lightning /private/var/folders/cr/kc3g11w92312m4fznntvqc5r0000gn/T/pip-install-190o3x67/pytorch-lightning_0d4979e642b645628523fb33940d85aa
  WARNING: Did not find branch or tag '9b011606f', assuming revision or ref.
  Running command git checkout -q 9b011606f
  Resolved https://github.com/PyTorchLightning/pytorch-lightning to commit 9b011606f
  Running command git submodule update --init --recursive -q
  From https://github.com/PyTorchLightning/lightning-tutorials
   * branch            290fb466de1fcc2ac6025f74b56906592911e856 -> FETCH_HEAD
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done

Maybe it's a conda/python/git version issue?

@wat3rBro
Copy link
Contributor

Also git-lfs filter-process: git-lfs: command not found looks suspicious.

@Papaass
Copy link

Papaass commented Aug 12, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants