Remove [--editable] in install instructions.

Use -e only in docs targeted at contributors.

If a user copy-pastes  command line with [--editable], they will hit
an error. If they don't know the --editable option, we're giving them
a choice to make before they can move forwards, but this isn't a choice
they need to make right now.
This commit is contained in:
Aymeric Augustin
2019-12-24 08:46:08 +01:00
parent 8a6881822a
commit a8d34e534e
7 changed files with 11 additions and 7 deletions

View File

@@ -93,14 +93,14 @@ When TensorFlow 2.0 and/or PyTorch has been installed, you can install from sour
```bash
git clone https://github.com/huggingface/transformers
cd transformers
pip install [--editable] .
pip install .
```
When you update the repository, you should upgrade the transformers installation and its dependencies as follows:
```bash
git pull
pip install --upgrade [--editable] .
pip install --upgrade .
```
### Run the examples