Anki - 1
安裝 Ninja
https://github.com/ninja-build/ninja/releases/tag/v1.11.1
Audio 安裝
homebrew 安裝 mpv 和 lame
brew install mpv
brew install lame
安裝 python
brew install python
brew install python3
./run
另外可以用 ./tools/build
編譯 出 out/wheels/*.whl
再執行
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade out/wheels/*.whl如果 pip 比較舊, 可以先升級 pip
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip install --upgrade pip
這樣會產生如下
/Library/Frameworks/Python.framework/Versions/3.10/bin/anki --
執行需要安裝 PyQt
% ./out/pyenv/bin/pip install pyqt6 pyqt6-webengine
% ./out/pyenv/bin/pip install pyqt5 pyqtwebengine
程式位置:
./out/bundle/pyenv/bin/anki
留言
張貼留言