Skip to content

Commit

Permalink
README: create a venv to pip install pylxd
Browse files Browse the repository at this point in the history
Older Python version didn't care but BCP is to use a venv and Python 3.12
actually requires it.

Fixes #596

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jul 15, 2024
1 parent e47aa30 commit 463b97d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@ A Python library for interacting with the LXD REST API.

Installation
=============
``pip install pylxd``
.. code-block:: console
# Create a virtual environment
python3 -m venv myvenv
cd myvenv
# Activate the virtual environment
. bin/activate
# Install pyLXD in it
pip install pylxd
Bug reports
===========
Expand Down

0 comments on commit 463b97d

Please sign in to comment.