Hey guys i am trying to init coda for my python development however i tried many solutions can’t get the source of the issue
➜ ~ conda init
WARNING: Cannot install xonsh wrapper without a python interpreter in prefix: /home/darkuni/.conda
WARNING: Cannot install xonsh wrapper without a python interpreter in prefix: /home/darkuni/.conda
no change /home/darkuni/.conda/condabin/conda
no change /home/darkuni/.conda/bin/conda
no change /home/darkuni/.conda/bin/conda-env
no change /home/darkuni/.conda/bin/activate
no change /home/darkuni/.conda/bin/deactivate
no change /home/darkuni/.conda/etc/profile.d/conda.sh
no change /home/darkuni/.conda/etc/fish/conf.d/conda.fish
no change /home/darkuni/.conda/shell/condabin/Conda.psm1
no change /home/darkuni/.conda/shell/condabin/conda-hook.ps1
no change /home/darkuni/.conda/etc/profile.d/conda.csh
no change /home/darkuni/.conda/condabin/conda
no change /home/darkuni/.conda/bin/conda
no change /home/darkuni/.conda/bin/conda-env
no change /home/darkuni/.conda/bin/activate
no change /home/darkuni/.conda/bin/deactivate
no change /home/darkuni/.conda/etc/profile.d/conda.sh
no change /home/darkuni/.conda/etc/fish/conf.d/conda.fish
no change /home/darkuni/.conda/shell/condabin/Conda.psm1
no change /home/darkuni/.conda/shell/condabin/conda-hook.ps1
no change /home/darkuni/.conda/etc/profile.d/conda.csh
no change /home/darkuni/.bashrc
No action taken.
Mixing things I suspect is the issue.
e.g. having python312Packages.pip and python311Packages.conda - kwwp to the same version of python - I suspect pythonPackages is the one to use - this will also match the python version in xonsh and python
As for the actual error - I think this is because xonsh does not install a bare xonsh python package it installed an executable xonsh. In my config I use an overlay to load python packages into xonsh - so xonsh loads via nix only.