I am trying to run Anaconda on Windows via the Miniconda installation. Currently I cannot run any conda commands, as I believe a directory was specified wrong somewhere, but not in my PATH variable. When I open my Git Bash terminal and type “conda,” I get the following message (assume my username is “myname”):
bash: C:Usersynameminiconda3Scripts: No such file or directory
I immediately noticed the typo: “Usersyname” should be “Usersmyname”. I figured I made a mistake adding miniconda to my PATH, so I went to fix it, but everything looks fine there, i.e. all miniconda-relevant paths are specified “C:Usersmyname…”. However, when i run echo $PATH, the first entries are all miniconda paths with the same typo (“Usersyname”):
C:Usersynameminiconda3vsml;C:Usersynameminiconda3vsmlLibrarymingw-w6in;C:Usersynameminiconda3vsmlLibraryusin;C:Usersynameminiconda3vsmlLibrarin;C:Usersynameminiconda3vsmlScripts;C:Usersynameminiconda3vsmin;C:Usersynameminiconda3/c/Users/myname/bin
How are these paths ending up in my $PATH environment variable? And where can I correct this?