python安装plotly包失败

输入
python -m pip install --user plotly
刚开始安装是正常的,但是因为安装比较慢,一会后就出现大段的红色代码,最后有“Read timed out”

指定源
后面加 -i http://mirrors.aliyun.com/pypi/simple/

你的python是什么版本?

img

conda install -c conda-forge plotly