You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Causes the following error when trying to lock the environment:
Generating lockfile(s) for linux-64...
Could not lock the environment for platform linux-64
The channel is not accessible or is invalid.
channel name: nodefaults
channel url: example.org/nodefaults
error code: 404
You can resolve the issue by adding the following to your .condarc:
However, I wouldn't expect this to be necessary, as nodefaults is not an actual channel. It is only supposed to indicate that no default channels should be used.
I've tried this on conda-lock 0.13.2 and 1.0.5. My conda/mamba version is:
mamba 0.23.0
conda 4.12.0
It is important to mention that you can mamba env create the environment. So the issue seems to lie within conda-lock.
Any idea what might be causing this?
The text was updated successfully, but these errors were encountered:
Given that conda-lock already makes use of --override-channels aggressively you probably shouldn't need to use nodefaults. We can probably just filter this channel out at parse time of the environment.yaml
Given that conda-lock already makes use of --override-channels aggressively you probably shouldn't need to use nodefaults. We can probably just filter this channel out at parse time of the environment.yaml
Thanks for the information @mariusvniekerk. If possible, I would prefer to leave the nodefaults channel inside of my environment file to ensure that locking the environment behaves identically to installing it.
Omitting the nodefaults channel at parse time seems like a good option to me.
Having a
.condarc
like this:And an
environment.yml
likes this:Causes the following error when trying to lock the environment:
You can resolve the issue by adding the following to your
.condarc
:However, I wouldn't expect this to be necessary, as
nodefaults
is not an actual channel. It is only supposed to indicate that no default channels should be used.I've tried this on conda-lock 0.13.2 and 1.0.5. My conda/mamba version is:
It is important to mention that you can
mamba env create
the environment. So the issue seems to lie within conda-lock.Any idea what might be causing this?
The text was updated successfully, but these errors were encountered: