Skip to content

Commit

Permalink
docs: update virtualenv link and command (#1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel authored Jul 10, 2020
1 parent 299160f commit 28b9c1d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions content/docs/command-reference/commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ $ cd example-get-started

Now let's install the requirements. But before we do that, we **strongly**
recommend creating a
[virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments):
[virtual environment](https://python.readthedocs.io/en/stable/library/venv.html):

```dvc
$ virtualenv -p python3 .env
$ python3 -m venv .env
$ source .env/bin/activate
$ pip install -r src/requirements.txt
```
Expand Down
4 changes: 2 additions & 2 deletions content/docs/command-reference/import-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ $ rm -f code.zip

Let's install the requirements. But before we do that, we **strongly** recommend
creating a
[virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments):
[virtual environment](https://python.readthedocs.io/en/stable/library/venv.html):

```dvc
$ virtualenv -p python3 .env
$ python3 -m venv .env
$ source .env/bin/activate
$ pip install -r src/requirements.txt
```
Expand Down
4 changes: 2 additions & 2 deletions content/docs/command-reference/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ $ cd example-get-started

Now let's install the requirements. But before we do that, we **strongly**
recommend creating a
[virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments):
[virtual environment](https://python.readthedocs.io/en/stable/library/venv.html):

```dvc
$ virtualenv -p python3 .env
$ python3 -m venv .env
$ source .env/bin/activate
$ pip install -r src/requirements.txt
```
Expand Down
2 changes: 1 addition & 1 deletion content/docs/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Install with pip

> We **strongly** recommend creating a
> [virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments)
> [virtual environment](https://python.readthedocs.io/en/stable/library/venv.html)
> or using
> [pipx](https://packaging.python.org/guides/installing-stand-alone-command-line-tools/)
> (on Python 3.6+) to encapsulate your local environment.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/install/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ from the [release page](https://github.com/iterative/dvc/releases/) on Github.
## Install with pip

> We **strongly** recommend creating a
> [virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments)
> [virtual environment](https://python.readthedocs.io/en/stable/library/venv.html)
> or using
> [pipx](https://packaging.python.org/guides/installing-stand-alone-command-line-tools/)
> (on Python 3.6+) to encapsulate your local environment.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/install/pre-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ If you want to test the latest stable version of DVC, ahead of official
releases, you can install it from our code repository Github.

> We **strongly** recommend creating a
> [virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments)
> [virtual environment](https://python.readthedocs.io/en/stable/library/venv.html)
> or using
> [pipx](https://packaging.python.org/guides/installing-stand-alone-command-line-tools/)
> (on Python 3.6+) to encapsulate your local environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ that will train the model.

Let's now install the requirements. But before we do that, we **strongly**
recommend creating a
[virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments):
[virtual environment](https://python.readthedocs.io/en/stable/library/venv.html):

```dvc
$ virtualenv -p python3 .env
$ python3 -m venv .env
$ source .env/bin/activate
$ pip install -r requirements.txt
```
Expand Down
4 changes: 2 additions & 2 deletions content/docs/user-guide/contributing/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ Python. For Windows, we recommend an official

Install DVC in editable mode with `pip install -e ".[all,tests]"`. But before we
do that, we **strongly** recommend creating a
[virtual environment](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments):
[virtual environment](https://python.readthedocs.io/en/stable/library/venv.html):

```dvc
$ cd dvc
$ virtualenv --python python3 .env
$ python3 -m venv .env
$ source .env/bin/activate
$ pip install -e ".[all,tests]"
```
Expand Down

0 comments on commit 28b9c1d

Please sign in to comment.