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
Traceback (most recent call last):
File "setup.py", line 30, in <module>
from pip._internal.download import PipSession
ModuleNotFoundError: No module named 'pip._internal.download'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 33, in <module>
from pip.download import PipSession
ModuleNotFoundError: No module named 'pip.download'
pip is a command line program. While it is implemented in Python, and so is available from your Python code via import pip, you must not use pip’s internal APIs in this way
Using:
I can no longer use setup.py to build the tool:
Looking at the pypi documentation I see: https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program
More specifically:
The supported way of using it is:
The text was updated successfully, but these errors were encountered: