1. 程式人生 > >安裝pyecharts報錯Command "python setup.py egg_info" failed with error code 1

安裝pyecharts報錯Command "python setup.py egg_info" failed with error code 1

在使用 pip install pyecharts 命令安裝pyechats 時,出現瞭如下錯誤:

Command "python setup.py egg_info" failed with error code 1 in C:\Users\SEAVAN~1\AppData\Local\Temp\pip-install-90y1cxrp\jupyter-echarts-pypkg\

解決辦法:

(1)、下載pyecharts-0.1.9.4-py2.py3-none-any.whl

https://files.pythonhosted.org/packages/7e/aa/63f80d0d2d2ee43cfe9f30822eb751ba67359aa54507a05b740ed5666416/pyecharts-0.1.9.4-py2.py3-none-any.whl

(2)、cd到pyecharts-0.1.9.4-py2.py3-none-any.whl所在目錄,執行如下命令:

pip install pyecharts-0.1.9.4-py2.py3-none-any.whl

即可安裝成功。