Lightning Jet is a fully automated rebalancer for Lightning nodes. Jet optimizes channel liquidity allocation based on routing volume, missed routing opportunities (htlcs), and other variables.
MIT License
44
stars
11
forks
source link
docker compose build failed - No module named 'distutils' #106
when running command: "docker-compose -f docker/docker-compose.yml build" it exits with an error saying that
"npm error ModuleNotFoundError: No module named 'distutils'".
https://stackoverflow.com/a/76691103 says
"it was deprecated in Python 3.10 by PEP 632 “Deprecate distutils module”. For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils."
So in order to build it properly we need to update Dockerfile and install py3-setuptools. Then it builds successfully.
when running command: "docker-compose -f docker/docker-compose.yml build" it exits with an error saying that "npm error ModuleNotFoundError: No module named 'distutils'".
https://stackoverflow.com/a/76691103 says "it was deprecated in Python 3.10 by PEP 632 “Deprecate distutils module”. For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils."
So in order to build it properly we need to update Dockerfile and install py3-setuptools. Then it builds successfully.
env: Python 3.10.12 Ubuntu 22.04.4 LTS