1

Used windows search; found python.exe at: C:\Users\Michael\Anaconda3\pkgs\python-3.6.4-h6538335_1

Entered into GIT Bash:

$ echo 'export PATH="$PATH:/c/Users/Michael/Anaconda3/pkgs/python-3.6.4-h6538335_1:/c/Users/Michael/Anaconda3/pkgs/python-3.6.4-h6538335_1/Scripts"' >> .bashrc
$ source .bashrc
$ python --version

Received:

bash: winpty: command not found

serv-inc
  • 29,557
  • 9
  • 128
  • 146
M Stock
  • 11
  • 1
  • 2

1 Answers1

0

I am on a Linux OS, but I would try adding the python.exe path to the Windows path variable (either for the user or globally).

Check this link: Adding directory to PATH Environment Variable in Windows

Vagelis Prokopiou
  • 1,237
  • 12
  • 13