mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
mention pip+pyqt5
This commit is contained in:
parent
babc7d6762
commit
be89c7a779
1 changed files with 13 additions and 3 deletions
|
@ -21,9 +21,14 @@ It also requires a number of Python packages, which you can grab via pip:
|
|||
|
||||
$ pip3 install -r requirements.txt
|
||||
|
||||
You will also need PyQt development tools (specifically pyrcc5 and pyuic5).
|
||||
These are often contained in a separate package on Linux, such as
|
||||
'pyqt5-dev-tools' on Debian/Ubuntu.
|
||||
If you're on a Linux distribution that packages PyQt 5.9 then you can use the
|
||||
distro's packages. Make sure you install the development tools (eg
|
||||
pyqt5-dev-tools) as well.
|
||||
|
||||
If you're on another platform or your distro has the wrong Qt version, you
|
||||
can install PyQt with pip:
|
||||
|
||||
$ pip3 install sip pyqt5==5.9
|
||||
|
||||
To use the development version:
|
||||
|
||||
|
@ -53,6 +58,11 @@ $ ./runanki
|
|||
If you get any errors, please make sure you don't have an older version of
|
||||
Anki installed in a system location.
|
||||
|
||||
To run the unit tests, you will need to install nose from your distro, or
|
||||
with pip:
|
||||
|
||||
$ pip3 install nose
|
||||
|
||||
Before contributing code, please read README.contributing.
|
||||
|
||||
If you'd like to contribute translations, please see the translations section
|
||||
|
|
Loading…
Reference in a new issue