我使用在 anaconda 上完美地安装了 ggplot
pip install ggplot
但是,如果我尝试使用我的非 anaconda pip 安装它,我会得到:
ImportError: statsmodels requires patsy. http://patsy.readthedocs.org
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/n4/l3cggyqs1jj1_ltxl8v3dljh0000gn/T/pip_build_Leo/statsmodels
Storing debug log for failure in /var/folders/n4/l3cggyqs1jj1_ltxl8v3dljh0000gn/T/tmpfwsnyy