yakupadakli/python-unsplash

Pip 10.0 and setup.py

g3rd opened this issue · 1 comments

g3rd commented

In setup.py it is using
from pip.req import parse_requirements

However, in Pip 10.0 that method has moved.

I added

try:
    from pip._internal.req import parse_requirements
except:
    from pip.req import parse_requirements

to get it to work.

Thanks. I updated.