Install Leo on Ubuntu 22.04

Hi. when I try to install Leo on Ubuntu 22.04 I get this errors:
"
Couldn’t load Cargo configuration

Caused by:
could not parse TOML configuration in /root/leo/.cargo/config

Caused by:
could not parse input as TOML
/root/leo/.cargo/config:1:9 expected a key but found an empty string
/root/leo/.cargo/config:1:9-1:10 expected ., but found '
"
Rust ver. 1.7.0. How to fix it?

6 Likes