Error while installing ggplot in python

痴心易碎 提交于 2019-12-11 03:59:50

问题


I am getting this error when trying to install ggplot in Python:

ImportError: cannot import name unpack_url

I am using the following command:

sudo pip install ggplot

This error is in a linux environment, running fedora 21.


回答1:


Looks like you might need to update your version of pip itself.

Entertainingly, you can upgrade pip using pip, as per the docs:

On Debian and Ubuntu:

sudo apt-get install python-pip 

On Fedora:

sudo yum install python-pip


来源:https://stackoverflow.com/questions/30539125/error-while-installing-ggplot-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!