Replies: 2 comments 1 reply
-
|
A few things to check — the most likely culprit is the format of {
"python.interpreters.include": ["/opt/pixi/.pixi/envs/default"]
}If you want Positron to show only that environment, use A couple of related notes:
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much for your detailed response. There was one more piece to it in our case: We build our image in two stages. In the first stage, we build the environment in It turns out that discovery wasn't the issue in our case as we found the environment under "Python: Select Interpreter" (but not the Session window). Yet selecting it did nothing. It turns out Positron also needs |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to set up Positron Server (2026.06.0-211) with an education license inside a Docker container. The Python environment is managed by pixi and lives at
/opt/pixi/.pixi/envs/default.The following environment variables are set in the container:
PATH=/opt/pixi/.pixi/envs/default/bin:...CONDA_PREFIX=/opt/pixi/.pixi/envs/defaultCONDA_DEFAULT_ENV=defaultThe integrated terminal correctly resolves Python:
$ which python/opt/pixi/.pixi/envs/default/bin/pythonWhat I tried
In settings.json:
{
"python.defaultInterpreterPath": "/opt/pixi/.pixi/envs/default/bin/python","python.interpreters.include": "/opt/pixi/.pixi/envs/default"}
None of these work.
Is there a supported way to make Positron Server discover a pixi (conda-style) environment in a non-standard location?
Beta Was this translation helpful? Give feedback.
All reactions