fqa:mcloud:q302
q302 ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
symptom 现象
conda 环境下 python37 安装 rdkit 报错
python dataQA.py Traceback (most recent call last): File "dataQA.py", line 5, in <module> from rdkit import Chem File "/data/home/caixia/.conda/envs/haveRDKit/lib/python3.7/site-packages/rdkit/__init__.py", line 2, in <module> from .rdBase import rdkitVersion as __version__ ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /data/home/caixia/.conda/envs/haveRDKit/lib/python3.7/site-packages/rdkit/rdBase.so)
solution 解决方法
conda install libgcc export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/home/caixia/.conda/envs/haveRDKit/lib python dataQA.py
fqa/mcloud/q302.txt · 最后更改: 2024/02/28 18:39 由 pengge
评论