You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main-Executable_Stream_Thread] --- Traceback (most recent call last):
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main-Executable_Stream_Thread] --- File "/home/jenkins/blackduck/runs/***********/shared/pip/pip-inspector.py", line 33, in <module>
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main-Executable_Stream_Thread] --- from pip._internal.download import PipSession
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main-Executable_Stream_Thread] --- ModuleNotFoundError: No module named 'pip._internal.download'
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main] --- Executable finished: 1
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main] --- ------------------------------------------------------------------------------------------------------
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main] --- Finished extraction: FAILURE
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main] --- Code locations found: 0
�[1m2020-10-19 07:10:58�[0m 2020-10-19 07:10:58 INFO [main] --- The Pip Inspector tree parse failed to produce output
Steps to Reproduce
Run any scan job while using pip version greater or equal to 20
Version
pip version 20.2.4
Language Version:
Python 3.7 OS:
Ubuntu 18.04.2 LTS
PS: We believe that the issue can be resolved by replacing in your script pip-inspector.py"from pip._internal.download import PipSession" with "from pip._internal.network.session import PipSession".
Issue template
Expected behavior
Actual behavior
Steps to Reproduce
Version
Language Version:
Python 3.7
OS:
Ubuntu 18.04.2 LTS
PS: We believe that the issue can be resolved by replacing in your script pip-inspector.py "from pip._internal.download import PipSession" with "from pip._internal.network.session import PipSession".