How to use slugify in Python 3?
The slugify package you installed isn't built for python 3, it currently only supports python 2. And it is very unlikely it will get updated. One of the easiest way to tell is that throughout its source code, it used the python 2 keyword unicode
in which it doesn't exist in python 3.
You probably did:
pip install slugify
That was an outdated package, not the one you linked.
To install the slugify package you linked, https://pypi.python.org/pypi/python-slugify, it's called python-slugify
when you install it, it supports all recent python versions. And have way more functionalities.
pip install python-slugify
And import the same way as the other package:
from slugify import slugify
Note: YOU MUST DELETE THE ORIGINAL PACKAGE YOU INSTALLED, since they uses the same name.