# Transformer installation from sourrce

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformer-installation-from-sourrce%2F886%3E%5C
**Category:** Beginners\
**Created:** [August 27, 2020, 7:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformer-installation-from-sourrce%2F886 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAsaKal)%5C
**Post date:** [August 27, 2020, 7:58am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformer-installation-from-sourrce%2F886%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fvalhalla)%5C
**Post date:** [August 28, 2020, 3:42pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ftransformer-installation-from-sourrce%2F886%2F2 "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

```
