Tweak: Updated Poetry install to include headers and make copy/paste easier (#2948)
* Tweak: Adds $USER to poetry install guide Means a copy/paste will work for most * auto agree for easy copy/paste * poetry install and export * ensure correct headers * whoops * typo
This commit is contained in:
parent
7eb021f43c
commit
dc91fbea9b
1 changed files with 6 additions and 7 deletions
|
|
@ -29,19 +29,18 @@ It is recommended to use the latest version of Poetry. Make sure you have Python
|
||||||
### Install Python 3.12
|
### Install Python 3.12
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo add-apt-repository ppa:deadsnakes/ppa
|
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
||||||
sudo apt update
|
sudo apt update -y
|
||||||
sudo apt install python3.12
|
sudo apt install -y python3.12 python3.12-dev # ensure correct headers needed for secp256k1
|
||||||
sudo apt-get install python3.12-dev # ensure correct headers needed for secp256k1
|
sudo apt install -y pkg-config python3-dev build-essential # ensure correct headers
|
||||||
python3 --version
|
python3 --version
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install Poetry
|
### Install Poetry
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -sSL https://install.python-poetry.org | python3 -
|
# If path 'export PATH="$HOME/.local/bin:$PATH"' fails, use the path echoed by the install
|
||||||
# Once the above poetry install is completed, use the installation path printed to terminal and replace in the following command
|
curl -sSL https://install.python-poetry.org | python3 - && export PATH="$HOME/.local/bin:$PATH"
|
||||||
export PATH="/home/user/.local/bin:$PATH"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### install LNbits
|
### install LNbits
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue