Some erros returned when I tried to install matplotlib in cmd. Version of pip is 21.2.3. Version of python is 3.10.0 I also tried to install it in pycharm.But failed again. I don't know how to solve this problem.
This is my command in cmd: pip install matplotlib
there is the output when I executed my command.
raise ValueError("check_hostname requires server_hostname")
ValueError: check_hostname requires server_hostname