You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i would like to install the package "quarto-cli" into into a venv. Now i wanted to install quarto-cli with rye add quarto-cli with the following result:
rye add quarto-cli
Added quarto-cli>=1.5.57 as regular dependency
Reusing already existing virtualenv
Generating production lockfile: \\?\D:\_sync\005_HS\proj\Techn_DE\lect-TDE\requirements.lock
Generating dev lockfile: \\?\D:\_sync\005_HS\proj\Techn_DE\lect-TDE\requirements-dev.lock
Installing dependencies
Resolved 171 packages in 92ms
Building quarto-cli==1.5.57
Built example-project-with-rye @ file:///D:/_sync/005_HS/proj/Techn_DE/lect-TDE
⠴ Preparing packages... (1/2)
after 10-20sec then comes:
Built example-project-with-rye @ file:///D:/_sync/005_HS/proj/Techn_DE/lect-TDE error: Failed to prepare distributions
Caused by: Failed to fetch wheel: quarto-cli==1.5.57
Caused by: Build backend failed to build wheel through `build_wheel()` with exit code: 1
--- stdout:
Current working directory: C:\Users\Mario\AppData\Local\uv\built-wheels-v3\index\b2a7eb67d4c26b82\quarto-cli\1.5.57\eP8UWLi1CVgByOkNlM2E7\quarto_cli-1.5.57.tar.gz
running bdist_wheel
running build
running build_py
Downloading and installing quarto-cli binaries...
Downloading https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.57/quarto-1.5.57-win.zip
--- stderr:
error: [Errno 2] No such file or directory: 'quarto_cli\\quarto-1.5.57\\bin\\vendor\\deno-land\\x\\puppeteer@9-0-2\\vendor\\puppeteer-core\\puppeteer\\common\\AriaQueryHandler.d.ts'
---
error: Installation of dependencies failed in venv at \\?\D:\_sync\005_HS\proj\Techn_DE\lect-TDE\.venv. uv exited with status: exit code: 2
my rye version shows after doing rye self update
0.41.0
Here is the contents of pyproject.toml
[project]
name = "example-project-with-rye"
version = "0.1.0"
description = "Add your description here"
authors = [
{ name = "Max", email = "Max@example-project-with-rye.com" }
]
dependencies = [
"langchain>=0.2.6",
"langchain-openai>=0.1.14",
"pydantic>=2.8.2",
"pydantic-settings>=2.3.4",
"python-dotenv>=1.0.1",
"openai>=1.35.10",
"ruamel-yaml>=0.18.6",
"jupyter>=1.0.0",
"pandas>=2.2.2",
"openpyxl>=3.1.5",
"matplotlib>=3.9.2",
"pillow>=10.4.0",
"gmaps>=0.9.0",
"googlemaps==4.10.0",
"polyline>=2.0.2",
"gmplot>=1.4.1",
"pycountry>=24.6.1",
"pycountry-convert>=0.7.2",
"scipy>=1.14.1",
"setuptools>=75.1.0",
"scikit-learn>=1.5.2",
"tqdm>=4.66.5",
"python-magic>=0.4.27",
"libmagic>=1.0",
"ipykernel>=6.29.5",
"quarto-cli>=1.5.57",
]
readme = "README.md"
requires-python = ">= 3.11"
[project.scripts]
"example-project-with-rye" = "example_project_with_rye:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
universal = true
#virtual = true # for docker, see https://rye.astral.sh/guide/docker/
dev-dependencies = [
"pre-commit>=3.7.1",
"pytest>=8.2.2",
"pyright>=1.1.370",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/example_project_with_rye"]
[tool.pyright]
venvPath = "."
venv = ".venv"
[tool.ruff]
line-length = 160 # widescreen monitor support :)
target-version = "py311"
# can be upgraded to 3.12 for e.g. nested quotes in f-strings.
# That requires all team members to use Python 3.12.
[tool.pytest.ini_options]
# https://pytest.org/en/7.3.x/explanation/goodpractices.html#which-import-mode
addopts = ["--import-mode=importlib", ]
pythonpath = "src"
I tried this with severeal versions - same result. I also moved my repo folder to another place with shorter path, but it didnt helped. Do you have an idea why rye is not installing it or how do i get more detailed log message?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear Community,
i would like to install the package "quarto-cli" into into a venv. Now i wanted to install quarto-cli with
rye add quarto-cli
with the following result:after 10-20sec then comes:
my rye version shows after doing
rye self update
Here is the contents of
pyproject.toml
I tried this with severeal versions - same result. I also moved my repo folder to another place with shorter path, but it didnt helped. Do you have an idea why rye is not installing it or how do i get more detailed log message?
thanks in advance!
Mario
Beta Was this translation helpful? Give feedback.
All reactions