美文网首页iOS之报错上架填坑iOS学习iOS学习笔记
Ubuntu 16.0.4 安装 Swift 后提示 error

Ubuntu 16.0.4 安装 Swift 后提示 error

作者: DevThink | 来源:发表于2017-08-14 18:36 被阅读96次

原文链接: Ubuntu 16.0.4 安装 Swift 后提示 error while loading shared libraries: libpython2.7.so.1.0
更多 精彩文章请访问:锐意翱翔

Ubuntu 16.0.4 安装 Swift 后提示: error while loading shared libraries: libpython2.7.so.1.0:

swift/usr/bin/lldb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

这个问题会在 Ubuntu 14.04 和 Ubuntu 16.04 上出现,是 swift 的一个依赖问题,只需要安装 libpython2.7-dev 就可以解决问题。代码如下

sudo apt-get install libpython2.7-dev

Done !

Link : Incomplete install instructions for Ubuntu
原文链接: Ubuntu 16.0.4 安装 Swift 后提示 error while loading shared libraries: libpython2.7.so.1.0

相关文章

网友评论

    本文标题:Ubuntu 16.0.4 安装 Swift 后提示 error

    本文链接:https://www.haomeiwen.com/subject/dxfprxtx.html