今天在试着搞ui自动化,pycharm导入selenium的时候报错:
The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host mirrors.aliyun.com'.
原因是未信任阿里云镜像,忽略之后装不上,像下面这样:
在install packags这里勾选options,把报错提示的内容加进去就ok了。