原文鏈接: Ubuntu 16.0.4 安裝 Swift 后提示 error while loading shared libraries: libpython2.7.so.1.0
更多 精彩文章請?jiān)L問:銳意翱翔
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 上出現(xiàn)汞扎,是 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