Why can't I start Quarto in a Python Windows embedded package (64 bit) environment?
@cderv đang làm issue này rồi.
Từ ngày 18/3/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Bug description
- 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
- 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:
Steps to reproduce
- Download Windows embeddable package (64-bit) from https://www.python.org/downloads/windows/
- 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:
- 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.
- edit python312._pth file.
- set python environment variables
- run python - m pip install Jupyter
- Download .zip format quarto from https://quarto.org/docs/download/, after unzipped, set quarto environment variables
- set QUARTO_PYTHON environment variable and run quarto check Jupyter, then have a 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
- Ngôn ngữ chính
- JavaScript
- Star
- 6k
- Fork
- 458
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 41
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto-cli
-
binder bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
quarto-dev/quarto-cli#14907 · 3 bình luận ·
-
brand bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Đang mởengines-jupyter enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto-cli#14850 · 2 bình luận ·
Tất cả issue của quarto-dev/quarto-cli
Issue tương tự
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100