Merge pull request #547 from evandroforks/fix_anki_caption

Fixed anki caption on README.development
This commit is contained in:
Damien Elmes 2020-04-10 19:43:45 +10:00 committed by GitHub
commit 195d8c2362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,13 +97,13 @@ User-contributed instructions for building using Cygwin:
1. Download and install rust (compiler), npm, git and put them your system path. 1. Download and install rust (compiler), npm, git and put them your system path.
1. Download and install the pyaudio wheel from: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio 1. Download and install the pyaudio wheel from: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
1. After download the file for your Python version, you need to define the following environment 1. After download the file for your Python version, you need to define the following environment
variable before running anki: variable before running Anki:
`set "ANKI_EXTRA_PIP=python -m pip install full/path/to/PyAudio0.2.11cp38cp38win_amd64.whl"` `set "ANKI_EXTRA_PIP=python -m pip install full/path/to/PyAudio0.2.11cp38cp38win_amd64.whl"`
1. If there is not an wheel available for your Python version, you can built it from the source 1. If there is not an wheel available for your Python version, you can built it from the source
following the installation instructions on: https://github.com/evandroforks/pyaudio following the installation instructions on: https://github.com/evandroforks/pyaudio
After building and installing portaudio, you need to define the following environment After building and installing portaudio, you need to define the following environment
variable before running anki: variable before running Anki:
`set "ANKI_EXTRA_PIP=python -m pip install git+https://github.com/evandroforks/pyaudio"` `set "ANKI_EXTRA_PIP=python -m pip install git+https://github.com/evandroforks/pyaudio"`
1. Open a `cmd.exe` (command prompt) on the anki repository and run the command `sh run` 1. Open a `cmd.exe` (command prompt) on the Anki repository and run the command `sh run`
1. Do not use `bash run` because it my call for Windows Subsystem for Linux 1. Do not use `bash run` because it my call for Windows Subsystem for Linux
1. Do not use any Cygwin terminal as `mintty.exe` because the `rust lang` compiler does not work with them 1. Do not use any Cygwin terminal as `mintty.exe` because the `rust lang` compiler does not work with them