Update $path in Mac ¶
Let's imagine we have to update the Python path in PATH variable
- Paths are available in
/etc/paths
. Update then using
sudo bash
vim /etc/paths
-
Enter the path of the Python install directory at the end of this list.
-
Reload
bashrc
usingsource ~/.bashrc