S
S
Slava Zudvin2020-07-06 18:18:07
Python
Slava Zudvin, 2020-07-06 18:18:07

How to uninstall MAMP PRO Python?

Hello!

Previously, MAMP PRO was installed with Python version 2.7.13

. Removed MAMP PRO, there was a call to Python 2.7.13 version along the path:

python -V
-bash: /Applications/MAMP/Library/bin/python: No such file or directory


which python
/usr/bin/python


when accessing python, it gives:
-bash: /Applications/MAMP/Library/bin/python: No such file or directory


It is worth noting that on the MAMP PRO website they give a recommendation for assigning alias python='/usr/bin/python'a leading to a symbolic link, as I understand it.

Is this alias on MAMP somewhere? How to find it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-07-06
@Zudvin

See if there is a path /Applications/MAMP/Library/bin/pythonin the environment variables cat /etc/environment, if there is cat ~/.profile, cat ~/.bashrc remove it.
Alias alias python='/usr/bin/python'​​is written just in . bashrc to run the command pythonas above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question