环境:
My laptop:
MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
version 10.15.7 (19H2)
IDE:
Spyder
问题:
已成功安装 pysurvival 套件
但是在跑套件中的一些模型时,如:
from pysurvival.utils.display import correlation_matrix
会出现 error messages:
ImportError:
dlopen(/Users/aa/opt/anaconda3/lib/python3.7/site-packages/pysurvival/models/_non_parametric.cpython-37m-darwin.so,
2): Symbol not found:
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4
Referenced from:
/Users/aa/opt/anaconda3/lib/python3.7/site-packages/pysurvival/models/_non_parametric.cpython-37m-darwin.so
Expected in: /usr/lib/libstdc++.6.dylib in
/Users/ju/opt/anaconda3/lib/python3.7/site-packages/pysurvival/models/_non_parametric.cpython-37m-darwin.so
已经尝试:
网络上找到有人建议重新安装套件
已经从 anaconda、command line 移除重新安装套件数次
仍旧无解
请问我还可以尝试哪些方法?感谢!