File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
django_extensions/management/commands Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
try :
23
23
from pip ._internal .network .session import PipSession
24
24
except ImportError :
25
- from pip ._internal .download import PipSession
25
+ from pip ._internal .download import PipSession # type:ignore
26
26
from pip ._internal .req .req_file import parse_requirements
27
27
from pip ._internal .utils .misc import get_installed_distributions
28
28
except ImportError :
29
29
# pip < 10
30
30
try :
31
- from pip import get_installed_distributions
32
- from pip .download import PipSession
33
- from pip .req import parse_requirements
31
+ from pip import get_installed_distributions # type:ignore
32
+ from pip .download import PipSession # type:ignore
33
+ from pip .req import parse_requirements # type:ignore
34
34
except ImportError :
35
35
raise CommandError ("Pip version 6 or higher is required" )
36
36
You can’t perform that action at this time.
0 commit comments