if you use ~ you should not use .x, I will recommend "~3.11.0"