在AWS Sagemaker pytorch-1.10-cpu-py38应用程序上使用htop进行段故障



我正在尝试在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

相关内容

  • 没有找到相关文章

最新更新