2

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
  • 35,772
  • 9
  • 166
  • 188
M Stock
  • 21
  • 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
  • 2,285
  • 19
  • 14