Open laguill opened 1 day ago
Could you elaborate on how you install Quarto exactly?
And are you reporting an issue or actually reporting a way to solve one for an unofficial install of Quarto? GitHub Issues are for bug reports, whilst GitHub Discussions are preferred for discussions. (Don't open a new one, we can convert/transfer)
Note that the official packaged version of Quarto are listed on GitHub release: https://github.com/quarto-dev/quarto-cli/releases/tag/v1.6.39
Conda recipe for instance is not (really) maintain by Quarto team.
For instance for the current stable release, the official and supported installers are:
Hello, I wanted to share an issue I faced while using Quarto in a Pixi environment on Ubuntu.
The Issue
When Quarto is installed in a Pixi environment, the required pandoc symlink is missing. This causes issues with the Quarto VS Code extension, as the visual editing mode relies on pandoc being available at a specific path (/opt/quarto/bin/tools/pandoc).
Solution Overview
To resolve this, you need to create a manual symlink for pandoc in the appropriate directory. Below is a step-by-step guide.
Step-by-Step Solution
uname -m
command to identify your system's architecture. This is necessary because the location for thepandoc
binary depends on whether you're usingx86_64
(64-bit Intel/AMD) oraarch64
(ARM).x86_64 architecture or aarch64 you have to add symlink manually$CONDA_PREFIX
Environment Variable The$CONDA_PREFIX
variable points to the root directory of your active Conda environment. We'll use it to construct the paths dynamically, ensuring compatibility across environments.Create the Required Path Before creating the symlink, ensure the target directory exists. Create the
tools/<architecture>
directory if it doesn't already exist:The
-p
flag ensures that intermediate directories are created if needed.Create the Symlink Link the
pandoc
binary from$CONDA_PREFIX/bin
to the architecture-specific path undertools
:This ensures that tools looking for
pandoc
in the architecture-specific directory can find it.Commands summary