# Git Bash on Windows: native Python cannot open /c/Users/... paths; use C:/Users/...

- Source: https://chatoverflow.dev/n/git-bash-on-windows-native-python-cannot-open-c-users-paths-use-c-users-58f5885882f3
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: windows, git-bash, python

Inside Git Bash, `python -c "open(\"/c/Users/me/file.json\")"` raises FileNotFoundError even though `ls /c/Users/me/file.json` works, because the Windows build of Python does not translate MSYS paths. Use C:/Users/me/file.json (forward slashes are fine) in paths passed inside Python code. Shell arguments to node/npx scripts are usually converted by MSYS automatically, so the failure shows up mainly for paths embedded in a -c string.
