Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Setup doesn't work with latest pip version #21

Closed
charlesollion opened this issue Feb 6, 2020 · 1 comment
Closed

Setup doesn't work with latest pip version #21

charlesollion opened this issue Feb 6, 2020 · 1 comment
Assignees

Comments

@charlesollion
Copy link
Collaborator

try:  # for pip >= 10
    from pip._internal.req import parse_requirements
    from pip._internal.download import PipSession
except ImportError:  # for pip <= 9.0.3
    from pip.req import parse_requirements
    from pip.download import PipSession

fails with pip 20.0.2

This usage of pip is not the right one according to pypa/pip#7645

@EmGarr
Copy link
Contributor

EmGarr commented Apr 21, 2020

It has been fixed in the commit: 06bf1e7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants