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
'Run python file' doesn't work in Git Bash #23384
Comments
if i change to Command prompt, it works. |
I attempted to replicate the issue of 'Run python file' not working in Git Bash on my macOS setup but was unsuccessful. Here's a brief overview of what I did: Setup: I set up a Python environment and ran a simple script through VSCode using the macOS Terminal. It seems that the issue might be specific to Git Bash on Windows, possibly due to differences in how path resolutions are handled between operating systems. I recommend further testing on Windows or investigating how Git Bash handles paths compared to other shells. Observations:
Possible Causes: Suggestions for Resolution:
I hope this helps clarify the potential root causes and provides a path forward for resolving the issue. I’m looking forward to any further insights or suggestions on this matter! |
Hello @ingempo Thanks for filing the issue. @NIV27e Appreciate the thorough comments on this and this would definitely come in handy once we get time, bandwidth in the future to be ready to support Git bash! |
When clic on upper rigth button (Run python file):
DEVOPS-WIP-01+opalrtlinux@DEVOPS-WIP-01 MINGW64 /c/work/hardware-qualification (OS-1494_add_hs_api_support) $ /work/hardware-qualification/.venv/Scripts/python.exe /work/hardware-qualification/test_hypersim.py bash: /work/hardware-qualification/.venv/Scripts/python.exe: No such file or directory
My interpreter is /.venv/Scripts/python.exe
The text was updated successfully, but these errors were encountered: