报错 pydevd_attach_to_process/attach linux_amd_amd64.so:undefined symbol: AttachDebuggerTracing

如果pycharm 报错AttributeError: /home/xxx/.pycharm_helpers/pydev/pydevd_attach_to_process/attach linux_amd_amd64.so: undefined symbol: AttachDebuggerTracing;只需更新python的pydevd-pychatm包;

pip install -U pydevd-pycharm

然后加载进文件夹中.pycharm_helpers/pydev
 

cd ~/.pycharm_helpers/pydev
ln -s /pydevd_attach_to_process

例如我的conda环境/home/xxx/anaconda3/pydevd_attach_to_process/ , pydevd_attach_to_process为文件夹,

假如提示,pydevd_attach_to_process已存在,要先删除~/.pycharm_helpers/pydev文件夹下的pydevd_attach_to_process文件夹在重新执行ln -s /pydevd_attach_to_process即可;

你可能感兴趣的:(anaconda,python)