安裝pysam後,import之,結果,出現報錯:curl
Library not loaded: libcurl.4.dylib
嘗試不少辦法,最終發現應當這樣解決:url
# 首先重裝curl brew install curl # 而後執行下面命令 sudo cp /usr/lib/libcurl.4.dylib /usr/lib/libcurl.4.dylib.bk sudo cp /usr/local/opt/curl/lib/libcurl.4.dylib /usr/lib/libcurl.4.dylib
Refspa
http://stackoverflow.com/questions/23089718/using-pycurl-in-pycharmcode