I just did

apt-get install w3af
apt-get install w3af-console

Now w3af is running without errors.