# Getting error OSError: Looks like you do not have git-lfs installed,

**URL:** <https://discuss.huggingface.co/t/getting-error-oserror-looks-like-you-do-not-have-git-lfs-installed/15866>\
**Category:** Beginners\
**Created:** [March 18, 2022, 9:08pm UTC](https://discuss.huggingface.co/t/getting-error-oserror-looks-like-you-do-not-have-git-lfs-installed/15866 "2022-03-18T21:08:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsitaraman](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vsitaraman](https://discuss.huggingface.co/u/vsitaraman)\
**Post date:** [March 18, 2022, 9:08pm UTC](https://discuss.huggingface.co/t/getting-error-oserror-looks-like-you-do-not-have-git-lfs-installed/15866/1 "2022-03-18T21:08:15Z")

</div>

Hi,  
When i attempt to run training i get the following error. I am on mac.  
OSError: Looks like you do not have git-lfs installed, please install. You can install from [https://git-lfs.github.com/.](https://git-lfs.github.com/) Then run `git lfs install` (you only have to do this once).

I have installed git lfs and ran the git lfs install command too… have tried restarting the kernel post installation.  
git lfs install

Updated Git hooks.

Git LFS initialized.

(PyG) C02G35CWMD6R:hooks vsitaraman$ git-lfs --version

git-lfs/3.1.2 (GitHub; darwin amd64; go 1.17.6)

(PyG) C02G35CWMD6R:hooks vsitaraman$

---

<div class="post-metadata">

**Author:** ![sheoran95](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sheoran95](https://discuss.huggingface.co/u/sheoran95)\
**Post date:** [March 8, 2023, 10:25am UTC](https://discuss.huggingface.co/t/getting-error-oserror-looks-like-you-do-not-have-git-lfs-installed/15866/2 "2023-03-08T10:25:16Z")

</div>

Any success in resolving this error?

---

<div class="post-metadata">

**Author:** ![indrasary](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@indrasary](https://discuss.huggingface.co/u/indrasary)\
**Post date:** [May 31, 2023, 1:51am UTC](https://discuss.huggingface.co/t/getting-error-oserror-looks-like-you-do-not-have-git-lfs-installed/15866/3 "2023-05-31T01:51:03Z")

</div>

I had the same error. And since I use M1 processor, I tried suggested method in here: [git lfs - git lfs is not a command Mac OS - Stack Overflow](https://stackoverflow.com/questions/58796472/git-lfs-is-not-a-command-mac-os) and it did works (I’m using brew instead of port). But not knowing the workaround for amd

---

<div class="post-metadata">

**Author:** ![shahiryar](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/shahiryar/32/23936_2.png) [@shahiryar](https://discuss.huggingface.co/u/shahiryar)\
**Post date:** [February 17, 2024, 5:17am UTC](https://discuss.huggingface.co/t/getting-error-oserror-looks-like-you-do-not-have-git-lfs-installed/15866/4 "2024-02-17T05:17:53Z")

</div>

Worked for me too. Thank you sharing!
