Closed T145 closed 7 months ago
On Windows, I did the following:
conda create -n loras python=3.10 pip pipx -c conda-forge conda activate loras pipx install pdm[all] pdm config venv.backend conda pdm self update pdm self add pdm-conda pdm init pdm add conda-lock mamba pdm install
Then adding this to my pyproject.toml:
pyproject.toml
[tool.pdm.conda] runner = "mamba" channels = ["conda-forge", "anaconda"] dependencies = ["pdm"] as-default-manager = true solver = "libmamba"
Causes this error:
mamba: error: unrecognized arguments: -y --strict-channel-priority --json --prefix /tmp/0bdea286-8e56-4916-ae24-f528581852d5 --dry-run conda-lock>=2.5.1 mamba>=0.11.3 pdm python<3.10.14,>=3.10.13 -c conda-forge -c anaconda --override-channels
Removing mamba from the specifications does nothing unfortunately. Any ideas on how to fix it?
mamba
On Windows, I did the following:
Then adding this to my
pyproject.toml
:Causes this error:
Removing
mamba
from the specifications does nothing unfortunately. Any ideas on how to fix it?