I have problem with proxychains.
Without having got this far, but going off the output of
error: no valid proxy found in config
… I’d say first ensure the config file is the correct name and has the correct contents. It shows /etc/proxychains.conf is found. Did you ensure it has the correct port for socks4 on 127.0.0.1 matching 9050? Depending on your OS version / previous version you may have had to previously use /etc/proxychains4.conf instead