python-intermediate-development icon indicating copy to clipboard operation
python-intermediate-development copied to clipboard

Expand troubleshooting for issues on Windows with python in git bash

Open svenvanderburg opened this issue 11 months ago • 2 comments
trafficstars

The part https://carpentries-incubator.github.io/python-intermediate-development/common-issues.html#python-hangs-in-git-bash can be extended with the following related problem:

Does the file remain empty when using winpty python -m pip freeze > requirements.txt? Adjust the alias to alias python='winpty -Xallow-non-tty python'

  • If that in turn adds strange characters, extend it further to alias python='winpty -Xallow-non-tty -Xplain python'
  • Solution source

svenvanderburg avatar Dec 10 '24 14:12 svenvanderburg