Why can't I start Quarto in a Python Windows embedded package (64 bit) environment?

オープン
#9,101 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@cderv がすでに取り組んでいます。

2024年3月18日 から。

評価

この issue はまだ評価されていません。

説明

enhancement windows
Bug description
  1. I downloaded the Windows embedded package (64 bit) installation package from the Python official website, configured the Python 3.12.2 development environment according to the Python embedded mode usage method, and I also set python Path
  2. downloaded the Quarto. zip format installation package. I used the Python - m pip install Jupyter according to the Quarto usage method to install Jupyter, and set QUARTO-PYTHON. However, when I checked with the Quarto check Jupyter command, I encountered an error as follows:
    error
Steps to reproduce
  1. Download Windows embeddable package (64-bit) from https://www.python.org/downloads/windows/
    download embed
  2. Unzip this package, then download get-pip.py from https://bootstrap.pypa.io/get-pip.py, put the get-pip.py into python package as follows:
    put get-pip into package
  3. use CMD command, direct the path to the Python package, run python.exe get-pip.py, after run, Lib and Scripts folder will be generate.
    image
  4. edit python312._pth file.
    image
  5. set python environment variables
    set path
  6. run python - m pip install Jupyter
  7. Download .zip format quarto from https://quarto.org/docs/download/, after unzipped, set quarto environment variables
    download quarto
  8. set QUARTO_PYTHON environment variable and run quarto check Jupyter, then have a error.
    error
Expected behavior

So I would like to ask, can quarto only use Python with the installer installation method? How to use the embedded package mode in an environment?

Actual behavior

No response

Your environment

OS: Windows 10
Python Version: Python 3.12.2 Windows embeddable package (64-bit)
Quarto Version: quarto-1.4.551-win.zip

Quarto check output

C:\Users\WFG3>quarto check
Quarto 1.4.551
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.4.551
Path: D:\SoftwarePackage\Python\Window\quarto-1.4.551-win\bin
CodePage: 936

[>] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)

[>] Checking LaTeX....................OK
Tex: (not detected)

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

[>] Checking Python 3 installation....OK
Version: 3.12.2
Path: D:/SoftwarePackage/Python/Window/python-3.12.2-embed-amd64/python.exe
Jupyter: 5.7.2
Kernels: python3

(/) Checking Jupyter engine render....Traceback (most recent call last):
File "D:\SoftwarePackage\Python\Window\quarto-1.4.551-win\share\jupyter\jupyter.py", line 20, in
from log import log_init, log, log_error, trace
ModuleNotFoundError: No module named 'log'
[>] Checking Jupyter engine render....OK

主要言語
JavaScript
スター
6k
フォーク
458
平均マージ
1日 9時間
マージ済み PR(30日)
41

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto-cli のほかの issue

quarto-dev/quarto-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。