getting_started: add Python devel packages to install commands
Otherwise one gets "Python.h: File or folder not found" on install.
This commit is contained in:
parent
91241aff52
commit
3c39f6b7a5
|
@ -10,11 +10,11 @@ Installation:
|
|||
Installing Pycairo requires pkg-config and cairo including its headers. Here
|
||||
are some examples on how to install those for some platforms:
|
||||
|
||||
* Ubuntu/Debian: ``sudo apt install libcairo2-dev pkg-config``
|
||||
* Ubuntu/Debian: ``sudo apt install libcairo2-dev pkg-config python3-dev``
|
||||
* macOS/Homebrew: ``brew install cairo pkg-config``
|
||||
* Arch Linux: ``sudo pacman -S cairo pkgconf``
|
||||
* Fedora: ``sudo dnf install cairo-devel pkg-config``
|
||||
* openSUSE: ``sudo zypper install cairo-devel pkg-config``
|
||||
* Fedora: ``sudo dnf install cairo-devel pkg-config python3-devel``
|
||||
* openSUSE: ``sudo zypper install cairo-devel pkg-config python3-devel``
|
||||
|
||||
To verify that the installation works run the following Python code:
|
||||
|
||||
|
|
Loading…
Reference in New Issue