環境:
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 移除重新安裝套件數次
仍舊無解
請問我還可以嘗試哪些方法?感謝!