mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.85k stars 353 forks source link

Library Import error: Conda works but mamba does not #2112

Closed ajaymur91 closed 1 year ago

ajaymur91 commented 1 year ago

Hello, I was trying to install psi4 (a computational chemistry package). Mamba failed to produce a working psi4 package but conda succeeded. See below:

conda create -n test1 -c psi4 -c conda-forge psi4 conda activate test1 python

import psi4 (works)

mamba create -n test2 -c psi4 -c conda-forge psi4 conda activate test2 python

import psi4 (fails) Traceback (most recent call last): File "", line 1, in File "/hosts/soja/exports/home/muralidharan.a.2/software/miniconda/envs/test2/lib/python3.10/site-pac kages/psi4/init.py", line 54, in from . import core ImportError: libecpint.so.1: cannot open shared object file: No such file or directory

wolfv commented 1 year ago

what other channels are you using and what is the output of conda list / mamba list?

ajaymur91 commented 1 year ago

@wolfv Thanks for reaching out.

I tried to recreate this issue with a separate (fresh) instance of conda. -Installed fresh -conda update conda -conda install -n base -c conda-forge mamba -mamba create -n test2 -c psi4 -c conda-forge psi4 -conda activate test2 -python

With this setup, the psi4 package works now. -import psi4 (works)