Open carboncls opened 2 years ago
Ok, I needed to also install libpq-dev
with sudo apt install libpq-dev
.
Now, pip install psycopg2
worked, and then from the backup dir, poetry install
finished without error.
lightningd
won't start though:
Traceback (most recent call last):
File "/home/carlo/plugins/backup/backup.py", line 10, in <module>
from backend import Change
File "/home/carlo/plugins/backup/backend.py", line 7, in <module>
from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'
lightningd: lightningd/plugin.c:1795: plugins_init: Assertion `ret == plugins' failed.
lightningd: FATAL SIGNAL 6 (version v0.12.0)
0x55da863236b5 send_backtrace
common/daemon.c:33
0x55da8632374c crashdump
common/daemon.c:46
0x7fdadeebf51f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7fdadef13a7c __pthread_kill_implementation
./nptl/pthread_kill.c:44
0x7fdadef13a7c __pthread_kill_internal
./nptl/pthread_kill.c:78
0x7fdadef13a7c __GI___pthread_kill
./nptl/pthread_kill.c:89
0x7fdadeebf475 __GI_raise
../sysdeps/posix/raise.c:26
0x7fdadeea57f2 __GI_abort
./stdlib/abort.c:79
0x7fdadeea571a __assert_fail_base
./assert/assert.c:92
0x7fdadeeb6e95 __GI___assert_fail
./assert/assert.c:101
0x55da8630046c plugins_init
lightningd/plugin.c:1795
0x55da862e0e76 main
lightningd/lightningd.c:982
0x7fdadeea6d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7fdadeea6e3f __libc_start_main_impl
../csu/libc-start.c:392
0x55da862c3c44 ???
???:0
0xffffffffffffffff ???
???:0
lightningd: Died with signal 6
after pip install tqdm
, lightningd
did start and the plugin is working!
there might need to be additional things for poetry install
to do.
On Ubuntu 22.04, when I try
poetry install
, I get this error:When I want to install the psycopg2-binary, I get:
Not sure if I'm doing something wrong, or if it's a problem with poetry.