You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also removes usage of pip due to this error that crops up on newer
versions of Ubuntu:
```
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
```
I've been recommending installing Poetry from the official
installer for the past several months and it always works.
Changelog-None
Copy file name to clipboardExpand all lines: doc/getting-started/getting-started/installation.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ See all of the docker images for Core Lightning on [Docker Hub](https://hub.dock
44
44
45
45
# Third-party apps
46
46
47
-
For a GUI experience, you can install and use Core Lightning via a variety of third-party applications such as [Ride the Lightning](https://www.ridethelightning.info/), [Umbrel](https://getumbrel.com/), [BTCPayServer](https://btcpayserver.org/), [Raspiblitz](https://raspiblitz.org/), [Embassy](https://start9.com/).
47
+
For a GUI experience, you can install and use Core Lightning via a variety of third-party applications such as [Ride the Lightning](https://www.ridethelightning.info/), [Umbrel](https://getumbrel.com/), [BTCPayServer](https://btcpayserver.org/), [Raspiblitz](https://raspiblitz.org/), and [Start9](https://start9.com/).
48
48
49
49
Core Lightning is also available on nixOS via the [nix-bitcoin](https://github.com/fort-nix/nix-bitcoin/) project.
50
50
@@ -64,7 +64,7 @@ For actually doing development and running the tests, you will also need:
64
64
- pip3: to install python-bitcoinlib
65
65
- valgrind: for extra debugging checks
66
66
67
-
You will also need a version of bitcoind with segregated witness and `estimatesmartfee` with `ECONOMICAL` mode support, such as the 0.16 or above.
67
+
You will also need a version of bitcoind with segregated witness and `estimatesmartfee` with `ECONOMICAL` mode support. Version 0.16 or above should work.
68
68
69
69
## To Build on Ubuntu
70
70
@@ -81,6 +81,9 @@ pip3 install --upgrade pip
81
81
pip3 install --user poetry
82
82
```
83
83
84
+
(If installing `poetry` with `pip` as above fails, try installing it with the [official poetry installer](https://python-poetry.org/docs/#installing-with-the-official-installer).)
85
+
86
+
84
87
If you don't have Bitcoin installed locally you'll need to install that as well. It's now available via [snapd](https://snapcraft.io/bitcoin-core).
85
88
86
89
```shell
@@ -101,7 +104,7 @@ cd lightning
101
104
Checkout a release tag:
102
105
103
106
```shell
104
-
git checkout v24.05
107
+
git checkout v25.02
105
108
```
106
109
107
110
For development or running tests, get additional dependencies:
@@ -114,33 +117,30 @@ pip3 install pytest
114
117
115
118
If you can't install `lowdown`, a version will be built in-tree.
116
119
117
-
If you want to build the Rust plugins (currently, cln-grpc):
120
+
If you want to build the Rust plugins (currently cln-grpc and clnrest, which changed from Python to Rust as of v25.02):
0 commit comments