# Transformer installation from sourrce

**URL:** <https://discuss.huggingface.co/t/transformer-installation-from-sourrce/886>\
**Category:** Beginners\
**Created:** [August 27, 2020, 7:58am UTC](https://discuss.huggingface.co/t/transformer-installation-from-sourrce/886 "2020-08-27T07:58:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsaKal](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/asakal/32/299_2.png) [@AsaKal](https://discuss.huggingface.co/u/AsaKal)\
**Post date:** [August 27, 2020, 7:58am UTC](https://discuss.huggingface.co/t/transformer-installation-from-sourrce/886/1 "2020-08-27T07:58:10Z")

</div>

Hi I am trying to install the transformer library from source with this commands on my jupyter notebook;

!git clone [https://github.com/huggingface/transformers](https://github.com/huggingface/transformers)  
!cd transformers  
!pip install .

but i keep getting this error:  
ERROR: Directory ‘.’ is not installable. Neither ‘setup.py’ nor ‘pyproject.toml’ found.

I need some help trying to fix this, thank you for the time

---

<div class="post-metadata">

**Author:** ![valhalla](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/valhalla/32/4179_2.png) [@valhalla](https://discuss.huggingface.co/u/valhalla)\
**Post date:** [August 28, 2020, 3:42pm UTC](https://discuss.huggingface.co/t/transformer-installation-from-sourrce/886/2 "2020-08-28T15:42:51Z")

</div>

If you are doing this in jupyter notebook or colab, then you should use `%cd` instead of `!cd` or

```bash
!git clone https://github.com/huggingface/transformers
!pip install -U ./transformers

```
