Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update virtualenv links #1556

Merged
merged 1 commit into from
Jul 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment on lines -117 to +120
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove the actual command from these though?

$ 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)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example we don't put the command in the installation pages.

> 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