如何安装gviz_api库?

use*_*175 3 django google-visualization

我正在使用Django创建一个带有gcharts库的网站,但我收到错误:

ImportError: You must install the gviz_api library.
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个错误?

Det*_*mek 10

您可以从https://github.com/google/google-visualization-python从源加载并运行"setup.py",或者:

pip install -U https://github.com/google/google-visualization-python/zipball/master
Run Code Online (Sandbox Code Playgroud)