“Permission Denied” trying to run Python on Windows 10

As far as I can tell, this was caused by a conflict with the version of Python 3.7 that was recently added into the Windows Store. It looks like this added two “stubs” called python.exe and python3.exe into the %USERPROFILE%\AppData\Local\Microsoft\WindowsApps folder, and in my case, this was inserted before my existing Python executable’s entry in … Read more

What is the exact meaning of Git Bash?

git bash is a shell where: the running process is sh.exe (packaged with msysgit, as share/WinGit/Git Bash.vbs) git is a known command $HOME is defined See “Fix msysGit Portable $HOME location“: On a Windows 64: C:\Windows\SysWOW64\cmd.exe /c “”C:\Prog\Git\1.7.1\bin\sh.exe” –login -i” This differs from git-cmd.bat, which provides git commands in a plain DOS command prompt. A … Read more

GitHub – fatal: could not read Username for ‘https://github.com’: No such file or directory

Follow the steps to setup SSH keys here: https://help.github.com/articles/generating-ssh-keys OR git remote add origin https://{username}:{password}@github.com/{username}/project.git Update: If you get “fatal: remote origin already exists.” then you have to use set-url: git remote set-url origin https://{username}:{password}@github.com/{username}/project.git

Git Bash doesn’t see my PATH

Got it. As a Windows user, I’m used to type executable names without extensions. In my case, I wanted to execute a file called cup.bat. In a Windows shell, typing cup would be enough. Bash doesn’t work this way, it wants the full name. Typing cup.bat solved the problem. (I wasn’t able to run the … Read more

Winpty and Git Bash

winpty is A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs. That is why you need it as described here: The software works by starting the winpty-agent.exe process with a new, hidden console window, which bridges between the console API and terminal input/output escape codes. It … Read more