Skip to content

Running quarto preview fails to execute Python #5

@nikohansen

Description

@nikohansen

It looks like quarto is not using the Python environment from which it was started.

Starting python2 kernel...2024-12-04 18:26:52,983 - traitlets - ERROR - Failed to run command:
['/Users/hansen/anaconda/bin/python', '-m', 'ipykernel',  ...

[...]

FileNotFoundError: [Errno 2] No such file or directory: '/Users/hansen/anaconda/bin/python'

I installed the environment with

conda env create -n coco-web -f env.yaml 

and

which python

gives as expected

/Users/hansen/opt/anaconda3/envs/coco-web/bin/python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions