Closed maawoo closed 5 months ago
Pixi-pycharm writes logs to ~/.cache/pixi-pycharm.log
. Do you see anything of interest there?
Here is the entire output of the logs:
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
Attempting to run: ['info', '--envs', '--json']
What happens when running
./.pixi/envs/default/libexec/conda info --envs --json
?
>> ./.pixi/envs/default/libexec/conda info --envs --json
{
"envs_dirs": [
"/Users/marcowo/Documents/pypypy/woody/.pixi/envs"
],
"conda_prefix": "/Users/marcowo/Documents/pypypy/woody/.pixi/envs",
"envs": []
}
Hmm interesting, could you share your pixi.toml
? The "envs"
part shouldn't be []
.
Do you by any chance use pyproject.toml
instead of pixi.toml
? This is currently not supported as pixi.toml
is implicitly assumed: https://github.com/pavelzw/pixi-pycharm/blob/75c3a9731d7a2e96315c9a19f6a396263a1cbab6/conda#L18
I guess that will be it. I have used a pyproject.toml
. Any chance this will be supported in the near future given that pixi supports both formats now?
Yes, it's now on my radar 😄
I'll try to implement it soon, should be a fairly simple fix :)
Description
I guess this is related to #10 as my PyCharm doesn't seem to want to add an environment called
default
. TheUse existing environment
-dropdown is just empty and I can't proceed:Yes, the
Load Environments
-button has been clicked 😉Versions
PyCharm version: PyCharm 2024.1 (Professional Edition) Platform: macOS Sonoma