2

When I type the command which -a python to locate what versions of Python that it is. I get the following message:

$ which -a python
/Applications/MAMP/Library/bin//python
/usr/bin/python

Now I am not sure where the "/Applications/MAMP/Library/bin//python" is being read from.

I really like to remove this reference but I can't find out where to change this.

I have tried checking the bash_profile but don't see any reference to the /Applications/MAMP/Library/bin//python

I am using mac OS 10.9.5

missimer
  • 4,022
  • 1
  • 19
  • 33
CoderChai
  • 69
  • 4
  • 1
    It seems you want to remove the python installation from MAMP. Check this link, it might help: http://stackoverflow.com/questions/3819449/how-to-uninstall-python-2-7-on-a-mac-os-x-10-6-4 – Salvador Medina Jul 25 '15 at 20:44
  • The question is, where is the MAAP link being read from – CoderChai Jul 25 '15 at 21:18
  • The question is, where is the MAMP link being read from – CoderChai Jul 25 '15 at 21:45
  • That path must be added somewhere into the PATH environment variable. Then, why not try searching where it has been added to PATH? find / -xdev -type f -print0 | xargs -0 grep -H "/Applications/MAMP/Library/bin//python" – Salvador Medina Jul 25 '15 at 22:07

1 Answers1

0

I ran into the same problem, and finally fixed it.

In my .zshrc, I have this:

export PATH=/Applications/MAMP/Library/bin:$PATH

change it to:

export PATH=$PATH:/Applications/MAMP/Library/bin

fixed!

plough
  • 81
  • 1
  • 7