You can always delete the Conan cache directory in `$HOME/.conan` to start fresh. This can fix errors.
You can always delete the Conan cache directory in `$HOME/.conan` to start fresh. This can fix errors.
### ERROR: Invalid setting 'X' is not a valid 'settings.compiler.version' value
In `~/.conan/settings.yml` it is defined which compiler versions are supported by Conan on your machine. Unfortunately (and this is also a bit inconvenient) this file is not updated automatically when upgrading Conan. Three possible ways to fix it:
- add the missing value to the file by yourself
- simply delete the file, Conan will re-create it on the next run (easiest method)
- when upgrading Conan it creates a file `~/.conan/settings.new.yml` or similar which you can just rename to `~/.conan/settings.yml`
See also: http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting