我正在尝试在Pytorch 1.10 - Python 3.8 CPU优化的AWS Sagemaker容器中启动htop命令。这在我到目前为止使用的其他图像中工作得很好,但是在这个图像中,命令失败了,出现了段错误:
htop
htop: /opt/conda/lib/libncursesw.so.6: no version information available (required by htop)
htop: /opt/conda/lib/libncursesw.so.6: no version information available (required by htop)
htop: /opt/conda/lib/libncursesw.so.6: no version information available (required by htop)
Segmentation fault (core dumped)
更多信息:
htop --version
htop: /opt/conda/lib/libncursesw.so.6: no version information available (required by htop)
htop: /opt/conda/lib/libncursesw.so.6: no version information available (required by htop)
htop: /opt/conda/lib/libncursesw.so.6: no version information available (required by htop)
htop 2.2.0 - (C) 2004-2019 Hisham Muhammad
Released under the GNU GPL.
我用
修复了这个问题# Note: add sudo if needed:
ln -fs /lib/x86_64-linux-gnu/libncursesw.so.6 /opt/conda/lib/libncursesw.so.6