Error while installing ggplot in python

2019-07-20 19:27发布

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条回答
做个烂人
2楼-- · 2019-07-20 19:51

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
查看更多
登录 后发表回答