-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Known issues #283
Comments
To expand on this, I suspect miniforge users won't have this issue. |
See: conda/conda-libmamba-solver#283 Signed-off-by: Patrick Avery <[email protected]>
how to solve it |
Any update on how to solve this issue? |
As noted above:
I'll try to elaborate on this to the best of my ability... If you run In my case, I was running into this issue even with a fresh conda base environment (via miniconda) because, by default, To fix this, when I create my environment, I make sure to remove the # make sure conda-forge is the only channel
conda config --remove channels defaults
conda config --add channels conda-forge
# update all packages to make sure they're from conda-forge, not defaults
conda update --all After updating with the new channel configuration, when you run $ conda list
# packages in environment at /opt/miniconda:
#
# Name Version Build Channel
[...]
libarchive 3.7.2 h2aa1ff5_1 conda-forge
[...]
libmamba 1.5.6 had39da4_0 conda-forge |
I was able to resolve this issue by running |
I got this problem after updating conda 24.7.1. @spyoungtech gave a solution which fixed my problem. |
FWIW I get
with current miniconda, and even more fun
so remains unclear how to tame miniconda to behave. |
If you use |
The following items are known and either awaiting a bugfix elsewhere or, if no fix available, a workaround is suggested.
libarchive
: "library not loaded" or "cannot open shared object file"Observed errors
On Linux:
On macOS:
Explanation
This is a known incompatibility between the
libarchive
packages published ondefaults
andconda-forge
. The root cause is a problem in the CMake build configuration upstream (libarchive/libarchive#1857).Solution
This is a packaging problem that will be eventually solved, but that won't happen until libarchive 3.8 is published (or later). For now, the recommendation is to make sure that
libarchive
andlibmamba
come from the same channel.References
so.13.5.2
vsso.18
) conda-forge/libarchive-feedstock#69conda-libmamba-solver
#244Cannot use
defaults::package
specsObserved errors
Explanation
This is a known issue reported in
libmamba
: mamba-org/mamba#2431Solution
Fixed in libmamba 1.5.3. Please update to the latest version.
Cannot Ctrl-C out of
conda
Observed errors
Users are unable to use Ctrl+C to exit
conda
commands whenlibmamba
is in use.Explanation
The
libmamba
C++ library has some custom signal handlers that take over the signal controllers in Python's thread. Instantiating thelibmambapy.Context
object is enough to install those handlers in the process. This prevents Python from handlingSIGINT
correctly.Solution
Fixed in libmamba 1.5.3. A small change is needed in
conda-libmamba-solver
, and will be made available soon.In the meantime, users can use a different signal to kill the process. For example,
Ctrl+Z
to pause it and then issueSIGKILL / 9
viatop
orhtop
.The text was updated successfully, but these errors were encountered: