#报错:
Could not fetch URL https://pypi.python.org/simple/numpy/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

##解决方法
使用国内镜像
pip install pandas -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

pip install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

其中requirements.txt里面内容如: 

numpy
pandas==1.1.5
pyarrow==6.0.1
pyspark==3.2.1
tensorflow==2.4.0
scikit_learn==1.0.2
jupyter
notebook
matplotlib
protobuf==3.20.1
pyyaml


参考: 原文链接:https://blog.csdn.net/yanwenyuan0304/article/details/86072970

更多推荐