Skip to content

Commit 798d8bb

Browse files
authored
Merge pull request jupyterlab#11367 from meeseeksmachine/auto-backport-of-pr-11365-on-3.2.x
Backport PR jupyterlab#11365 on branch 3.2.x (Adds command to docs to install canvas dependencies)
2 parents 2da111f + 1cdab6e commit 798d8bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/source/developer/contributing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ Notes:
171171
installation, make sure Python 3.0+ is installed. Also, try using the
172172
Python 3.0+ version of ``pip`` or ``pip3 install -e .`` command to
173173
install JupyterLab from the forked repository.
174+
- If you see an error that says ``Call to 'pkg-config pixman-1 --libs'
175+
returned exit status 127 while in binding.gyp`` while running the
176+
``pip install`` command above, you may be missing packages required
177+
by ``canvas``. On macOS with Homebrew, you can add these packages by
178+
running
179+
``brew install pkg-config cairo pango libpng jpeg giflib librsvg``.
174180
- The ``jlpm`` command is a JupyterLab-provided, locked version of the
175181
`yarn <https://yarnpkg.com/en>`__ package manager. If you have
176182
``yarn`` installed already, you can use the ``yarn`` command when

0 commit comments

Comments
 (0)