Skip to content

Commit

Permalink
Merge pull request #93 from ikoruk/main
Browse files Browse the repository at this point in the history
Add fix for pynacl to "Setting up and running Launchpad"
  • Loading branch information
ikoruk authored Aug 7, 2024
2 parents 5b17edb + c61134c commit f979bc9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions how-to/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ Finally, build the database schema (this may take several minutes):
$ make schema
If you encounter an error while building Python wheels, see :ref:`pynacl-fix`.
Running
=======
Expand Down Expand Up @@ -417,6 +419,27 @@ the bridge interface on your computer):
sudo ufw allow in on lxdbr0
sudo ufw route allow in on lxdbr0
.. _pynacl-fix:
Error building Python wheels
----------------------------
When running ``make schema`` on some machines, ``pynacl`` `fails to build <https://github.com/pyca/pynacl/issues/553>`_, leading to ``ERROR: Failed building wheel for pynacl``.
If you encounter this issue, try running the following:
.. code-block:: shell-session
$ sudo apt install --yes libsodium-dev
Then add the following line to the ``Makefile`` under the ``PIP_ENV`` commands:
.. code-block:: shell-session
PIP_ENV += SODIUM_INSTALL=system
Then run `make schema` again.
Email
-----
Expand Down

0 comments on commit f979bc9

Please sign in to comment.