执行命令>pip install pyspark -i https://pypi.tuna.tsinghua.edu.cn/simple 安装pyspark时,报了错误和警告
解决方案: 出现该错误信息是因为pip源连接证书验证失败,增加参数 --trusted-host,如下:
pip install pyspark -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host mirrors.aliyun.com
再次执行,安装成功