我得到了错误:
(genslm) smrutip@dgx1:~/smruti_project/pyro-cov$ make analyze
python scripts/mutrans.py --vary-holdout Traceback (most recent call last): File "/raid/home/smrutip/smruti_project/pyro-cov/scripts/mutrans.py", line 16, in from pyrocov import mutrans, pangolin, sarscov2 File "/raid/home/smrutip/smruti_project/pyro-cov/pyrocov/mutrans.py", line 37, in import pyrocov.geo File "/raid/home/smrutip/smruti_project/pyro-cov/pyrocov/geo.py", line 12, in import pandas as pd File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/init.py", line 48, in from pandas.core.api import ( File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/api.py", line 47, in from pandas.core.groupby import ( File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/groupby/init.py", line 1, in from pandas.core.groupby.generic import ( File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/groupby/generic.py", line 77, in from pandas.core.frame import DataFrame File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/frame.py", line 182, in from pandas.core.generic import NDFrame File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/generic.py", line 179, in from pandas.core.window import ( File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/window/init.py", line 1, in from pandas.core.window.ewm import ( File "/raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/core/window/ewm.py", line 11, in import pandas._libs.window.aggregations as window_aggregations
ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /raid/home/smrutip/anaconda3/envs/genslm/lib/python3.9/site-packages/pandas/_libs/window/aggregations.cpython-39-x86_64-linux-gnu.so) make: *** [Makefile:63: analyze] Error 1
但无法使用任何解决方案解决它。由于权限问题,我不应该使用sudo命令。谁能告诉我如何使用conda解决这个问题?
我期待这个“做分析”应该工作,并给予结果
1条答案
按热度按时间hk8txs481#
在我的例子中,这个错误是由于不同的
gcc
和g++
版本而发生的。请通过以下方式检查您的版本:更新并拥有相同的
gcc
和g++
版本解决了这个问题。要在conda环境中安装它们,请使用以下命令:安装gcc:安装g++:
我希望这对你有帮助。谢谢你,谢谢