- ubuntu 16.04 LTS
- Python 3.6.2
iOS & AI Developer
前幾天因為 python 環境不知道為什麼壞掉了,所以重新安裝,在跑舊專案的時候缺少 matplotlib ,因此pip裝了起來,但運行時發生錯誤。
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are using (Ana)Conda please install python.app and replace the use of ‘python’ with ‘pythonw’. See ‘Working with Matplotlib on OSX’ in the Matplotlib FAQ for more information.
Ruby on Rails(官方簡稱為Rails。也有人簡稱為RoR,該縮寫目前仍於一些中文討論中被使用。),是一個使用Ruby語言寫的開源Web應用框架,它是嚴格按照MVC結構開發的。它努力使自身保持簡單,來使實際的應用開發時的代碼更少,使用最少的配置。
Rails的設計原則包括
- 「不做重複的事」(Don’t Repeat Yourself)
- 「慣例優於設定」(Convention Over Configuration)
維基百科
之前玩過Python 的 Django ,覺得非常好用,開發速度也很快,聽說 Ruby on Rails
開發速度也是一流,所以就試玩了一下,主要還是聽起來很潮,整體上來說入門還算沒有難度。
使用CoreML能讓我們快速上手使用別人訓練好的模型。我們幾乎不需要了解任何機器學習的知識,就可以通過CoreML來體驗機器學習的樂趣,如果你想使用已經有的模型,還可以使用Apple提供了一個Python工具 coremltools
,可以幫我們把 Caffe、Keras 或 scikit-learn模型轉換為 CoreML 的模型。
直接切入主題請下載初使專案開始,裡面有一份初使專案及完成的專案。
運行環境
在終端機中輸入 python3
,就可以開始使用interactive shell 試玩一下今天的主角 Numpy
。
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true