Skip to content

Commit

Permalink
Fix some typos in virtual-environments.qmd (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyzeng authored Oct 18, 2023
1 parent 253c1f3 commit b26a3b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/projects/virtual-environments.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ There are several popular flavors of virtual environment, we will cover the foll

1. [venv](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment) (built into Python 3)

2. [conda](https://towardsdatascience.com/managing-project-specific-environments-with-conda-406365a539ab) (built in to Anaconda/Miniconda)
2. [conda](https://towardsdatascience.com/managing-project-specific-environments-with-conda-406365a539ab) (built into Anaconda/Miniconda)

3. [renv](https://rstudio.github.io/renv/articles/renv.html) (package for managing R environments)

Below we'll provide some example workflows for using these tools with Quarto. In these examples we'll assume that you are already within a project directory that contains Quarto documents (so the environment will be created as a sub-directory of the project).
Below we'll provide some example workflows for using these tools with Quarto. In these examples we'll assume that you are already within a project directory that contains Quarto documents (so the virtual environment will be created as a sub-directory of the project).

We'll also cover using virtual environments with [JupyterLab](#jupyterlab), [RStudio](#rstudio), and [VS Code](#vs-code).

Expand Down Expand Up @@ -63,7 +63,7 @@ Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
```
:::

Once you've activated the environment, you need to ensure that you have the packages required to render your documents. This will typically encompass `jupyter` / `jupyterlab` plus whatever other packages are used in your Python code. ip to install packages into your environment. For example:
Once you've activated the environment, you need to ensure that you have the packages required to render your documents. This will typically encompass `jupyter` / `jupyterlab` plus whatever other packages are used in your Python code. Using `pip` to install packages into your environment. For example:

+--------------+------------------------------------------------------+
| Platform | Command |
Expand Down

0 comments on commit b26a3b7

Please sign in to comment.