• pigallery2
  • used the source
  • set node version with asdf

/opt/pigallery2 :

asdf local nodejs 18.20.0

And edited the systemd service to load asdf

ExecStart=/bin/bash -c '. /home/mikael/.asdf/asdf.sh && npm start'
WorkingDirectory=/opt/pigallery2

But also do like this:

python -m venv .
source bin/activate

change shebang towards #!/opt/phockup/bin/python3