python-setup: Make debug printing more obvious
This commit is contained in:
parent
2649b6603a
commit
2f6d17472d
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ try:
|
||||||
print(os.path.dirname(os.path.dirname(pip.__file__)))
|
print(os.path.dirname(os.path.dirname(pip.__file__)))
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import sys
|
import sys
|
||||||
print("could not import pip", file=sys.stderr)
|
print("DEBUG: could not import pip", file=sys.stderr)
|
||||||
# if you use poetry with `virtualenvs.options.no-pip = true` you might end up with a
|
# if you use poetry with `virtualenvs.options.no-pip = true` you might end up with a
|
||||||
# virtualenv without pip, so the above trick doesn't actually work. See
|
# virtualenv without pip, so the above trick doesn't actually work. See
|
||||||
# https://python-poetry.org/docs/configuration/#virtualenvsoptionsno-pip
|
# https://python-poetry.org/docs/configuration/#virtualenvsoptionsno-pip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue