### Bug description

_First of all I want to clarify that this is my first post here, I apologize if it's not completely clear._

Once I got to know Quarto I wanted to start experimenting with it working with Python, however, I have not been able to because  the **nbformat package is not installed**. However, when I check the list of installed packages this package appears there in both the conda and pip package lists. Can anyone tell me what the problem is? I have tried RStudio and VS code but I have the same issue with both.

OS: Ubuntu 20.04.4 LTS
RStudio Version: 2022.07.1
VS code Version: 1.70.1

**Console output when I want to Render the document:**

(base) ..$ quarto preview quarto_test.qmd --to html --no-browser --no-watch-inputs

Starting python3 kernel...Traceback (most recent call last):
  File "/opt/quarto/share/jupyter/jupyter.py", line 21, in <module>
    from notebook import notebook_execute, RestartKernel
  File "/opt/quarto/share/jupyter/notebook.py", line 16, in <module>
    import nbformat
ModuleNotFoundError: No module named 'nbformat'

**nbformat package in pip list:**
- nbformat                      5.4.0

**nbformat package in conda list:**
- nbformat                  5.4.0                    pypi_0    pypi

**qmd file content:**

---
title: "Quarto test"
author: "Andrés Silva"
format:
    html
jupyter: python3
---

## Quarto

Quarto enables you to weave together content and executable code into a finished docquartoument. To learn more about Quarto see <https://quarto.org>.

## Running Code

When you click the **Render** button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

```{python}
1 + 1
```

You can add options to executable code like this

```{python}
#| echo: false
2 * 2
```

The `echo: false` option disables the printing of code (only output is displayed).


### `quarto check` Output

[✓] Checking Quarto installation......OK
      Version: 1.0.38
      Path: /opt/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.5 (Conda)
      Path: /home/afsilvad/miniconda3/bin/python
      Jupyter: 4.10.0
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.2.1
      Path: /usr/lib/R
      LibPaths:
        - /home/afsilvad/R/x86_64-pc-linux-gnu-library/4.2
        - /usr/local/lib/R/site-library
        - /usr/lib/R/site-library
        - /usr/lib/R/library
      rmarkdown: 2.14

[✓] Checking Knitr engine render......OK



### `quarto tools check` Output

Tool         Status            Installed     Latest  
chromium     Not installed     ---           869685  
tinytex      Not installed     ---           v2022.08

jjallaire
2022-08-16T15:22:05Z
afsilvad
bug
Future
open
No module named 'nbformat'
https://github.com/quarto-dev/quarto-cli/issues/1923