prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
3.23k stars 178 forks source link

Error loading conda environment with Pixi in PyCharm #1955

Open mht2953658596 opened 2 months ago

mht2953658596 commented 2 months ago

Checks

Reproducible example

Issue description

When integrating the Pixi package management tool with PyCharm, an error occurs when trying to load the environment through conda.bat. The following error message is displayed:

Cannot invoke "com.jetbrains.python.sdk.flavors.conda.CondalnfoJson.getEnvs(" because "info" is null Steps to Reproduce:

Set up Pixi as the package manager. Attempt to load a conda environment through PyCharm using conda.bat. Observe the error message. Expected Behavior: The environment should load successfully without any errors.

Actual Behavior: An error occurs during the environment loading process.

Expected behavior

The environment should load successfully without any errors.

JackTiber commented 1 month ago

Having the same error show up on new install of Pixi on Fedora 40.

ruben-arts commented 1 month ago

Just to be sure, did you follow the documentation here: https://pixi.sh/latest/ide_integration/pycharm/

pavelzw commented 2 weeks ago

and if so, what is the output of ~/.cache/pixi-pycharm.log?