--- Log opened Thu Oct 12 00:00:53 2023 00:37 -!- cotsuka_ [~cotsuka@user/cotsuka] has joined #c-lightning 00:37 -!- cotsuka [~cotsuka@user/cotsuka] has quit [Remote host closed the connection] 00:42 -!- cotsuka_ is now known as cotsuka 02:00 -!- jonatack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 02:01 -!- jonatack [~jonatack@user/jonatack] has joined #c-lightning 03:47 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 05:58 -!- jonatack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 05:58 -!- jon_atack [~jonatack@user/jonatack] has joined #c-lightning 08:27 -!- jonatack [~jonatack@user/jonatack] has joined #c-lightning 08:27 -!- jon_atack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 09:07 -!- miedda [~miedda@node-1w7jra299oplehdjbru8yeyo3.ipv6.telus.net] has joined #c-lightning 09:20 -!- Nebraskka [~Nebraskka@user/nebraskka] has quit [Quit: Good day old chaps] 09:21 -!- Nebraskka [~Nebraskka@user/nebraskka] has joined #c-lightning 09:28 < miedda> I'm running Ubuntu 23.04, and it no longer allows you to pip install globally, so I'm getting errors like plugin-clnrest.py: Killing plugin: disabled itself: No module named 'flask_restx' 10:23 -!- jarthur [~jarthur@user/jarthur] has joined #c-lightning 10:25 < vincenzopalazzo> You cannot solve this problem now just by changing pip. This change should have been made 10 years ago 10:25 < vincenzopalazzo> miedda, can you publish the error that you are getting in a paste bin? 10:27 < vincenzopalazzo> The only way to fix pip is pass this flag `--break-system-packages` 10:28 < miedda> vincenzopalazzo it is pretty much the error I posted in one form or another, normally I would just pip install the dependency, but now you'd have to setup a venv or something along those lines 10:29 < miedda> Trying to do the pip install now displays: 10:29 < miedda> pip install flask-restful [ 11:29 AM ] 10:29 < miedda> error: externally-managed-environment 10:29 < miedda> × This environment is externally managed 10:29 < miedda> ╰─> To install Python packages system-wide, try apt install 10:29 < miedda>     python3-xyz, where xyz is the package you are trying to 10:29 < miedda>     install. 10:29 < miedda>     If you wish to install a non-Debian-packaged Python package, 10:29 < miedda>     create a virtual environment using python3 -m venv path/to/venv. 10:29 < miedda>     Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make 10:29 < miedda>     sure you have python3-full installed. 10:29 < miedda>     If you wish to install a non-Debian packaged Python application, 10:29 < miedda>     it may be easiest to use pipx install xyz, which will manage a 10:29 < miedda>     virtual environment for you. Make sure you have pipx installed. 10:29 < miedda>     See /usr/share/doc/python3.11/README.venv for more information. 10:32 < vincenzopalazzo> miedda, See my last message 10:40 < miedda> I'd like to avoid the --break-system-packages approach if possible 10:55 < vincenzopalazzo> :) use an older version of pip 10:56 < vincenzopalazzo> there is no way to avoid it you did all the time from the day 0 of pip so I do not get why this is a problem now :) but it is up to you, I provide the solution that I know 10:56 < vincenzopalazzo> happy to see other one 11:05 -!- miedda [~miedda@node-1w7jra299oplehdjbru8yeyo3.ipv6.telus.net] has quit [Quit: Client closed] 11:58 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Remote host closed the connection] 11:58 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #c-lightning 14:05 < harvhat_> miedda: I usually set up the virtual environment it isn't all that hard 14:05 < harvhat_> maybe use poetry 14:09 < harvhat_> somewhat related: https://github.com/raspiblitz/raspiblitz/issues/4216 14:58 < vincenzopalazzo> harvhat_, how you set up the virtual env and then run cln inside it? Could you expand a little bit how is your setup? 17:17 < harvhat_> vincenzopalazzo, I haven't CLN is C code not python. I'm new to core-lightning, but have installed and used a lot of python over the years. 17:19 < harvhat_> I woulf switch to the user (in my case bitcoin) and run the pip3 command with the --user flag to install into that users env 17:20 < harvhat_> but I haven;t done this myself I installed using raspiblitz and they seem to do similarm they also use peoptry to help manage it I have used that directly myself. 17:21 < harvhat_> CLN communicates with the plugins via stdin and stdout so that all that's gotta work there. 17:26 < harvhat_> damn I can't type ;-) 17:33 < harvhat_> peoptry = poetry 17:34 < harvhat_> *shrugs* is a pity people on the team don't seem to monitor this channel 19:04 -!- opsec_x122 [~opsec_x12@44.25.143.46] has joined #c-lightning 19:04 -!- opsec_x1222 [~opsec_x12@44.25.143.46] has quit [Remote host closed the connection] 19:16 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 19:36 -!- jarthur [~jarthur@user/jarthur] has quit [Quit: jarthur] 19:54 -!- jarthur [~jarthur@user/jarthur] has joined #c-lightning --- Log closed Fri Oct 13 00:00:35 2023