發表文章

python3安裝matplotlib

mac osx 上的python3 似乎沒有 matplotlib,自己安裝解決了 參考

no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

今天在用mac os ssh到遠端時遇到與錯誤訊息  no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 後來加了這解決了 ssh -oKexAlgorithms=+diffie-hellman-group1-sha1  123.123.123.123 參考

唯識學的源流

圖片
因為在看 十七世大寶法王噶瑪巴 講說百段引導文的後段有提到唯識學的源流, 我除了被 噶瑪巴豐富的佛學知識震撼外, 也引起了我對唯識學的源流的興趣, 剛好家裏有一本 印順導師寫的唯識學探源一書, 便把書拿來讀了一遍. 這本書對我來説內容其實很艱澀, 主要是本人佛學知識淺薄的關係, 但把它讀完了一遍至少讓我對唯識學的源流有些基本的了解了, 唯識學的源流其實在原始佛教就已經有了, 本書把唯識學的源流在原始佛教時期做了解說.

python math.log 的用法

圖片
10^2 = 100 10^3 = 1000 10^5 = 100000 3^4 = 81 log 簡介

環保很重要, 與地球和諧共處

圖片
第17世法王 噶瑪巴談環保 . (有中文翻譯)

dlopen() failed to load a library: cairo / cairo-2

最近run 一個舊的django 專案出現一個錯誤: dlopen() failed to load a library: cairo / cairo-2 後來用brew安裝了這些解決了:  brew install cairo pango gdk - pixbuf libxml2 libxslt libffi 參考

macos high sierra pip install python-ldap

圖片
今天升級macos high sierra後要安裝python-ldap 一直出現錯誤 後來參考了 本篇  解決,因為現在macos都是 rootless的所以原來使用  sudo ln - s < the_path_from_above_command >/ usr / include / usr / include    的解法不行必須使用 global - option  的方式