Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand troubleshooting for issues on Windows with python in git bash #414

Open
svenvanderburg opened this issue Dec 10, 2024 · 2 comments
Open

Comments

@svenvanderburg
Copy link
Collaborator

svenvanderburg commented Dec 10, 2024

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
@anenadic
Copy link
Collaborator

We have a solution for this under 'Commons issues and fixes': https://carpentries-incubator.github.io/python-intermediate-development/common-issues.html#python-hangs-in-git-bash but should expand with those extra commands.

@svenvanderburg
Copy link
Collaborator Author

I see. I think only the second part is relevant then. I will adapt the issue to reflect this.

@svenvanderburg svenvanderburg changed the title Add troubleshooting for issues on Windows with python in git bash Expand troubleshooting for issues on Windows with python in git bash Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants