Deprecated SHELLCMD, moved the pyaudio installation instructions to

its repository updating the instruction on README.development
This commit is contained in:
evandrocoan 2020-02-25 17:11:46 -03:00
parent 4b5463becf
commit 14a86273c4
3 changed files with 3 additions and 10 deletions

View File

@ -90,14 +90,9 @@ Windows users (using Visual Studio)
1. Download and install Python for Windows (not from Cygwin) and put `python.exe` (not `python3.exe`) on your system path.
1. Download and install pip for your Windows Python.
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
If that wheel do not work for you, you can download and build them from their source with the following steps:
1. Download and install Visual Studio 2017 or superior and:
1. `git clone https://github.com/evandroforks/portaudio`
1. Open the file `portaudio\build\msvc\portaudio.sln` with Visual Studio
1. Select the Solution Configuration as `Release` and the Solution Platforms as `x64` on the top toolbar
1. Go to the menu `Build -> Build Solution`
1. Copy the file `portaudio\build\msvc\x64\Release\portaudio.lib` to `C:\Python\libs\` (Or whatever your Windows Python is installed)
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 any Cygwin terminal as `mintty.exe` because the `rust lang` compiler does not work with them
1. If got an error from pip trying to build the `pyaudio` library,
follow the installation instructions from: https://github.com/evandroforks/pyaudio
and install the `portaudio.lib` on your system.

View File

@ -1,5 +1,4 @@
SHELL := /bin/bash
ECHOCMD := /bin/echo -e
.SHELLFLAGS := -eu -o pipefail -c
.DELETE_ON_ERROR:

View File

@ -1,5 +1,4 @@
SHELL := /bin/bash
ECHOCMD := /bin/echo -e
.SHELLFLAGS := -eu -o pipefail -c
.DELETE_ON_ERROR: