Skip to content

Commit

Permalink
Add note about installing Pillow requirements. See #1712
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Sep 29, 2024
1 parent 1013687 commit d67ac39
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/_inc/_install-pillow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
``````{note}
After generating a project, then running `make install`, if you see an error message `ERROR: Failed building wheel for Pillow`, then you need to install Pillow's dependencies.
`````{tab-set}
````{tab-item} macOS
```shell
brew install zlib libjpeg
```
````
````{tab-item} Linux
```shell
apt-get zlib libjpeg
```
````
`````
You will then need to run `make install` again.
```{seealso}
See also the Pillow documentation [External Libraries](https://pillow.readthedocs.io/en/latest/installation/building-from-source.html#external-libraries) for additional libraries that you might need.
```
``````
5 changes: 5 additions & 0 deletions docs/install/create-project-classic-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,13 @@ make install
```

This will take a few minutes.
☕️

When the process completes successfully, it will exit with no message.

```{include} /_inc/_install-pillow.md
```


## Start Plone

Expand Down
3 changes: 3 additions & 0 deletions docs/install/create-project-cookieplone.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ First the backend, then the frontend will be installed.

When the process completes successfully, it will exit with no message.

```{include} /_inc/_install-pillow.md
```


## Start Plone

Expand Down
3 changes: 3 additions & 0 deletions docs/install/create-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ First the backend, then the frontend will be installed.
When the process completes successfully, it will exit with no message.
```{include} /_inc/_install-pillow.md
```
````{note}
If you used a Plone core package name, then `make install` will return an error message such as the following.
Expand Down

0 comments on commit d67ac39

Please sign in to comment.