Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running quarto preview fails to execute Python #5

Open
nikohansen opened this issue Dec 4, 2024 · 0 comments
Open

Running quarto preview fails to execute Python #5

nikohansen opened this issue Dec 4, 2024 · 0 comments

Comments

@nikohansen
Copy link
Contributor

nikohansen commented Dec 4, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant