### Bug description

I am writing a document with python code using PaddleOCR. When Quarto starts to render and executes notebook cells, a `FileNotFoundError` exception is raised. However, I could run the cell from the Jupyter Notebook generated by Quarto without any error, via the Jupyter Notebook extension in VS Code.

The quarto code cauing the problem is as follows:
````quarto
---
title: "Problem with PaddleOCR"
jupyter: python3
---

```{python}
from paddleocr import PaddleOCR

OCR = PaddleOCR(use_angle_cls=True, show_log=False)

print("OK")
```
````

The output from VS Code's terminal is as follows

```log
❯ quarto preview e:/Development/comprehensive/dipExp/tasks/homework/task2/issue.qmd --no-browser --no-watch-inputs

Starting python3 kernel...Done

Executing 'issue.ipynb'
  Cell 1/1...ERROR: 

An error occurred while executing the following cell:
------------------
from paddleocr import PaddleOCR

OCR = PaddleOCR(use_angle_cls=True, show_log=False)

print("OK")
------------------

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Cell In[1], line 1
----> 1 from paddleocr import PaddleOCR
      3 OCR = PaddleOCR(use_angle_cls=True, show_log=False)
      5 print("OK")

File e:\Development\comprehensive\dipExp\tasks\.venv\lib\site-packages\paddleocr\__init__.py:14
      1 # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
   (...)
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
---> 14 from .paddleocr import *
     16 __version__ = paddleocr.VERSION
     17 __all__ = [
     18     'PaddleOCR', 'PPStructure', 'draw_ocr', 'draw_structure_result',
     19     'save_structure_res', 'download_with_progressbar', 'sorted_layout_boxes',
     20     'convert_info_docx', 'to_excel'
     21 ]

File e:\Development\comprehensive\dipExp\tasks\.venv\lib\site-packages\paddleocr\paddleocr.py:21
     17 import importlib
     19 __dir__ = os.path.dirname(__file__)
---> 21 import paddle
     23 sys.path.append(os.path.join(__dir__, ''))
     25 import cv2

File e:\Development\comprehensive\dipExp\tasks\.venv\lib\site-packages\paddle\__init__.py:76
     74 import paddle.jit  # noqa: F401
     75 import paddle.amp  # noqa: F401
---> 76 import paddle.dataset  # noqa: F401
     77 import paddle.inference  # noqa: F401
     78 import paddle.io  # noqa: F401

File e:\Development\comprehensive\dipExp\tasks\.venv\lib\site-packages\paddle\dataset\__init__.py:27
     25 import paddle.dataset.
```

The `quarto check` command's output is as follows:

```log
❯ quarto check

[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.3.340
      Path: D:\Program Files\Quarto\bin
      CodePage: 936

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

[>] Checking Python 3 installation....OK
      Version: 3.10.10
      Path: E:/Development/comprehensive/dipExp/tasks/.venv/Scripts/python.exe
      Jupyter: 5.3.0
      Kernels: python3

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

[>] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/
```

In the same virtual environment (created by poetry), I can also run the python code via the python interpretor without any error.

I am using Quarto's VS Code extension, I don't have RStudio installed.
I am using Python 3.10.10 on Windows 11

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cscheid
2023-04-27T14:20:19Z
Romc3
needs-repro windows jupyter
closed
Failed to render with PaddleOCR used while jupyter notebook generated is OK
https://github.com/quarto-dev/quarto-cli/issues/5331