Library issues through Mac-Anaconda

Good day,

I am trying to install the program in another computer as before. This time, it have issues about libraries which seem to be missing from the package.
I am no sure about this, if you could please take a look at the errors I get when running the test.

'Traceback (most recent call last):
File “/Users/xxx/opt/anaconda3/envs/p4env/bin/psi4”, line 177, in
import psi4
File “/Users/xxx/opt/anaconda3/envs/p4env/lib//python3.6/site-packages/psi4/init.py”, line 82, in
from .driver import endorsed_plugins
File “/Users/xxx/opt/anaconda3/envs/p4env/lib//python3.6/site-packages/psi4/driver/endorsed_plugins.py”, line 33, in
import v2rdm_casscf
File “/Users/xxx/opt/anaconda3/envs/p4env/lib//python3.6/site-packages/v2rdm_casscf/init.py”, line 45, in
psi4.core.plugin_load(sofile)
RuntimeError:
Fatal Error: load_plugin: Cannot open library: dlopen(/Users/xxx/opt/anaconda3/envs/p4env/lib/python3.6/site-packages/v2rdm_casscf/v2rdm_casscf.so, 1): Library not loaded: @rpath/core.so
Referenced from: /Users/xxx/opt/anaconda3/envs/p4env/lib/python3.6/site-packages/v2rdm_casscf/v2rdm_casscf.so
Reason: image not found
Error occurred in file: /Users/github/builds/conda-builds/psi4-multiout_1557977521159/work/psi4/src/psi4/libplugin/load_plugin.cc on line: 52

Any help would be highly appreciated.

Thank you

We have “best practices” for help topics. Please read them.

In particular, we need to know exactly what conda command you ran, as I said on your previous topic.

My apologies.

We manage to install the binary using the conda commands, but whenever we test or try a job it brings the error.

Here is the output of the requested commands.

Last login: Wed Jul 29 17:40:01 on ttys001
(base) xxx@xxx ~ % conda activate p4env
(p4env) xxx@xxx ~ % psi4 --version
Traceback (most recent call last):
File “/Users/xxx/opt/anaconda3/envs/p4env/bin/psi4”, line 177, in
import psi4
File “/Users/xxx/opt/anaconda3/envs/p4env/lib//python3.6/site-packages/psi4/init.py”, line 82, in
from .driver import endorsed_plugins
File “/Users/xxx/opt/anaconda3/envs/p4env/lib//python3.6/site-packages/psi4/driver/endorsed_plugins.py”, line 33, in
import v2rdm_casscf
File “/Users/xxx/opt/anaconda3/envs/p4env/lib//python3.6/site-packages/v2rdm_casscf/init.py”, line 45, in
psi4.core.plugin_load(sofile)
RuntimeError:
Fatal Error: load_plugin: Cannot open library: dlopen(/Users/xxx/opt/anaconda3/envs/p4env/lib/python3.6/site-packages/v2rdm_casscf/v2rdm_casscf.so, 1): Library not loaded: @rpath/core.so
Referenced from: /Users/xxx/opt/anaconda3/envs/p4env/lib/python3.6/site-packages/v2rdm_casscf/v2rdm_casscf.so
Reason: image not found
Error occurred in file: /Users/github/builds/conda-builds/psi4-multiout_1557977521159/work/psi4/src/psi4/libplugin/load_plugin.cc on line: 52
The most recent 5 function calls were:

(p4env) xxx@xxx ~ % conda list

packages in environment at /Users/xxx/opt/anaconda3/envs/p4env:

Name Version Build Channel

ambit 0.3 h57cbb5c_0 psi4
attrs 19.3.0 py_0
blas 1.0 mkl
ca-certificates 2020.6.24 0
certifi 2020.6.20 py36_0
chemps2 1.8.9 h57cbb5c_0 psi4
dataclasses 0.6 py_0 psi4
decorator 4.4.2 py_0
deepdiff 3.3.0 py36_1 psi4
dftd3 3.2.1 h0e1e685_0 psi4
dkh 1.2 ha0829f0_3 psi4
gau2grid 1.3.1 h1d22016_0 psi4
gcp 2.0.2 h0e1e685_0 psi4
gdma 2.2.6 hdc02c5d_5 psi4
hdf5 1.10.2 hfa1e0ec_1
importlib-metadata 1.7.0 py36_0
importlib_metadata 1.7.0 0
intel-openmp 2019.4 233
jsonpickle 0.9.6 py36_0 psi4
libcxx 10.0.0 1
libedit 3.1.20191231 h1de35cc_1
libffi 3.3 hb1e8313_2
libgfortran 3.0.1 h93005f0_2
libint 1.2.1 h1989688_2 psi4
libxc 4.3.4 h1de35cc_0 psi4
mkl 2019.4 233
mkl-service 2.3.0 py36hfbe908c_0
mkl_fft 1.1.0 py36hc64f4ea_0
mkl_random 1.1.1 py36h959d312_0
more-itertools 8.4.0 py_0
ncurses 6.2 h0a44026_1
networkx 2.4 py_1
numpy 1.18.5 py36h55a193a_0
numpy-base 1.18.5 py36h3304bdc_0
openssl 1.1.1g h1de35cc_0
packaging 20.4 py_0
pcmsolver 1.2.1 py36hd665ad5_0 psi4
pint 0.10 py_0 psi4
pip 20.1.1 py36_1
pluggy 0.13.1 py36_0
psi4 1.3.2+ecbda83 py36h4f228a9_0 psi4
psi4-rt 1.2 py36ha3f051b_0 psi4
py 1.9.0 py_0
pydantic 1.3 py36h0b31af3_0 psi4
pyparsing 2.4.7 py_0
pytest 5.4.3 py36_0
python 3.6.10 hf48f09d_2
qcelemental 0.4.2 py_0 psi4
readline 8.0 h1de35cc_0
resp 0.7 py36ha93d1a2_0 psi4
scipy 1.5.0 py36h912ce22_0
setuptools 49.2.0 py36_0
simint 0.7 h9ec563c_2 psi4
six 1.15.0 py_0
snsmp2 1.0.3 py36he403277_1 psi4
sqlite 3.32.3 hffcf06c_0
tk 8.6.10 hb0a8c7a_0
v2rdm_casscf 0.8 py36h6c80819_0 psi4
wcwidth 0.2.5 py_0
wheel 0.34.2 py36_0
xz 5.2.5 h1de35cc_0
zipp 3.1.0 py_0
zlib 1.2.11 h1de35cc_3

(p4env) xxx@xxx ~ % which conda python psi4
conda () {
if [ “$#” -lt 1 ]
then
“$CONDA_EXE” $_CE_M $_CE_CONDA
else
\local cmd="$1"
shift
case “$cmd” in
(activate | deactivate) __conda_activate “$cmd” “$@” ;;
(install | update | upgrade | remove | uninstall) CONDA_INTERNAL_OLDPATH="${PATH}"
__add_sys_prefix_to_path
“$CONDA_EXE” $_CE_M $_CE_CONDA “$cmd” “$@”
\local t1=$?
PATH="${CONDA_INTERNAL_OLDPATH}"
if [ $t1 = 0 ]
then
__conda_reactivate
else
return $t1
fi ;;
(*) CONDA_INTERNAL_OLDPATH="${PATH}"
__add_sys_prefix_to_path
“$CONDA_EXE” $_CE_M $_CE_CONDA “$cmd” “$@”
\local t1=$?
PATH="${CONDA_INTERNAL_OLDPATH}"
return $t1 ;;
esac
fi
}
/Users/xxx/opt/anaconda3/envs/p4env/bin/python
/Users/xxx/opt/anaconda3/envs/p4env/bin/psi4
(p4env) xxx@xxx ~ %

Any information and help will be greatly appreciated.
I thank you for your time.
Cheers