# Julia environment falsely detected in a Quarto/Python project

**URL:** <https://discourse.julialang.org/t/julia-environment-falsely-detected-in-a-quarto-python-project/108331>\
**Category:** New to Julia\
**Tags:** question, environment\
**Created:** [January 4, 2024, 6:56am UTC](https://discourse.julialang.org/t/julia-environment-falsely-detected-in-a-quarto-python-project/108331 "2024-01-04T06:56:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EmiliaJarochowska](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/emiliajarochowska/32/202594_2.png) [@EmiliaJarochowska](https://discourse.julialang.org/u/EmiliaJarochowska)\
**Post date:** [January 4, 2024, 6:56am UTC](https://discourse.julialang.org/t/julia-environment-falsely-detected-in-a-quarto-python-project/108331/1 "2024-01-04T06:56:45Z")

</div>

Hello, probably a silly problem: I use Julia in other projects, but in one that has nothing to do with Julia (it’s a poetry & pipenv venv with Quarto files written in Python and some Python scripts to manage that project), Julia keeps being detected as the environment.

By VS Code: If I start `code .` inside of poetry shell, it detects Julia and uses Conda.jl’s Python installation which I have on my computer because of using PyCall.jl in a different project in a different repo. And using Command (I’m on Mac) + Shift + P I cannot choose a Python environment because if I choose any path to other Python installation, I get an error that “The selected Path is not a Julia environment”. I’ve [reset the environment variable for Julia in the settings](https://discourse.julialang.org/t/using-julia-environmentpath-to-configure-environments-in-vscode/73789), and it helped for a second (no Julia environment was detected and poetry’s Python version was selected), but after a moment of VS Code open, it switched to a Julia environment and added it to `settings.json`.

This is illustrated by VS Code, but it is not a VS Code problem because even if I don’t use it, Quarto in this folder somehow detects that it’s a Julia project and also enforces the use of Conda.jl’s Python, overriding the settings of poetry and pipenv. This [turns out to be a legitimate setting of Quarto, that if Julia is detected, Quarto will use it’s Conda.jl interpreters](https://github.com/quarto-dev/quarto-cli/discussions/4040#discussioncomment-8002005), but it prevents execution, because the Python version used by Quarto is not the same as the one set by the virtual environment.

But why is my project identified by VS Code and Quarto as a Julia environment? I don’t have any `Manifest.toml` files and there have never been any Julia files in this repo. I have nothing in `pyproject.toml` or `Pipfile` that would indicate Julia, they include `jupyter` and `ipykernel` so as to prevent Quarto looking in random places on the computer, which might make it use Conda.jl’s files.
