Can't install from source on Linux

I followed all the instructions that you guys provided but when I write “make build” this is what I get:
if [ -e “aw-core/.git” ]; then
echo “Submodules seem to already be initialized, continuing…”;
else
git submodule update --init --recursive;
fi
Submodules seem to already be initialized, continuing…
make --directory=aw-core build
make[1]: Entering directory ‘/home/lalo/activitywatch/aw-core’
poetry install
make[1]: poetry: No such file or directory
make[1]: *** [Makefile:4: build] Error 127
make[1]: Leaving directory ‘/home/lalo/activitywatch/aw-core’
make: *** [Makefile:29: build] Error 2

What could be the problem?

Poetry is not installed on your system, you should follow the guide in the documentation to find what prerequisites are needed before building

https://docs.activitywatch.net/en/latest/installing-from-source.html

I had poetry installed. I checked before installing. I don’t know what was the issue but after restarting I didn’t get the same error. Now I get this:

make --directory=aw-server-rust build SKIP_WEBUI=
make[1]: Entering directory ‘/home/lalo/activitywatch/aw-server-rust’
cargo build --release --bin aw-server
make[1]: cargo: No such file or directory
make[1]: *** [Makefile:19: aw-server] Error 127
make[1]: Leaving directory ‘/home/lalo/activitywatch/aw-server-rust’
make: *** [Makefile:34: build] Error 2

As you can see in the logs message it’s complaining that it can’t find cargo (so it’s not installed or not properly set up). That’s also specified as an optional requirement in the guide I linked before.

Either install cargo with rust nightly or comment out that part of the build process.